Discusses the excitation of the OH radical by UV radiation for the determination of the hyperfine structure of the excited states. The 307 nm UV light is obtained by doubling the frequency (in double-refraction crystals) of a tunable dye laser. Details of the laser set-up are given. The method is suitable for application to other high-resolution molecular spectroscopy experiments in the area between 200 and 400 nm. Further extensions can be expected with ring compound dyes and external doubling of the frequency.