unit.converter

Wavelength ↔ color

Put in a wavelength and get the color. Pick a color and get the wavelength back out — where there is one to give.

589.3nm
Yellow #ffb400

From a wavelength

Nanometres. The eye runs about 380–780; outside that the math still works, the color does not.

nm

From a color

Its dominant wavelength: the pure light it points at, seen from white.

#

Screen can reach

Where it sits

CIE 1931 chromaticity — every color a human eye can see

The rim of the horseshoe is pure light — one wavelength, nothing mixed in. Everything inside it is a blend, and the further in you go the closer to white.

The straight edge along the bottom is the line of purples. Those colors are real, but no wavelength makes them: they take red and blue cones together with nothing in between. That is why this page converts one way cleanly and the other way only sometimes.

The dashed triangle is sRGB — everything your screen can actually show. Notice how much of the horseshoe falls outside it.

D65 white point
the color on screen now
its wavelength on the rim

Lines worth knowing

tap one to jump there
Copied