Measure absorption spectrum with your eyes closed, see what wavelengths are absorbed, extrapolate to color.
Although bear in mind that perceived color depends on environmental factors (ambient light, physiology of the eye, etc.) in addition to molecular properties.