Absorption spectra of certain dyes in the visible and ultraviolet