Purple has no wavelength of its own, because it is not a point of the spectral locus — the curve of single wavelengths. So the number you write down instead is its complementary wavelength, marked with a c: 566c nm for the classic magenta. Four boxes here, two lines and two radiant powers, and one headline out.
Two decisions are what make that a verdict rather than an opinion. The curve the answer is measured against is the tabulated CIE 1931 2-degree observer at 1 nm rather than any fitted stand-in for it, and the two power boxes are radiant power rather than brightness. Change either one and the same two lines come back classified differently, which is why both are named on the page instead of being left for you to assume.
Each button writes the two wavelengths and the two radiant powers into the four boxes, so the verdict changes the moment you press it. The line underneath quotes back whatever the widget then works out, so nothing in it is stored text. All eight sets of figures are stated givens chosen to make a point, not measurements of any named lamp or laser.
Pick a case above, or type your own figures.

The purple wavelength calculator is a free online tool that settles what to write down when the thing you are describing has no wavelength at all. Give it one or two spectral lines and their radiant powers and it returns the chromaticity x and y, a verdict of spectral hue or non-spectral (a purple), and the figure to report — a dominant wavelength when the colour has one, or a complementary wavelength written with a c when it does not.
Why purple has no wavelength is geometry, not a limitation of the instrument. Every colour a single wavelength can make lies on one open curve, the spectral locus, and the straight chord that closes it between the 380 nm end at (0.1741, 0.0050) and the 700 nm end at (0.7347, 0.2653) is the line of purples. Every purple there is sits on that chord, which is why none of them has a wavelength to quote.
The construction is the whole method. A half-line is drawn from the equal-energy white point at (0.3333, 0.3333) through the colour and extended until it leaves the diagram. Leave by the locus and the wavelength at the exit is the dominant wavelength; leave by the line of purples and there is no wavelength there, so the same line is run backwards and the wavelength it meets on the locus is the complementary wavelength.
The classic magenta is 566c nm. Equal radiant power at 450 and 650 nm lands at x = 0.2443, y = 0.0572, which is non-spectral, and its complementary wavelength is 566c nm. Shift the ratio to 4 and the same pair reports 536c nm at 0.3965, 0.1257. The c is carried by both of the places the figure appears, the headline unit and the chip beneath it, because it is part of the number rather than a note about it.
A single wavelength is never a purple. All 321 wavelengths from 380 to 700 nm at 1 nm classify as spectral hues on this page, endpoints included, which is the measured answer to whether a 405 nm diode is violet or purple: it is violet, one line, dominant wavelength 405 nm, 3.061 eV, inside the published 380 to 435 nm violet band. Leaving line 2 blank is how that case is entered, and no power ratio underneath it can change the verdict.
And a two-wavelength mix is not automatically a purple. A cyan added to a yellow stays in the well-behaved part of the curve, and the crossover chip for that pair reports no threshold at all rather than a large one. The worked tables carry its readings; the reason for carrying them is that a verdict only means something if it is capable of coming back either way.
The crossover is the quantity no other tool on this keyword exposes. Along a blue-plus-red chord there is a sharp radiant power ratio at which the hue stops having a wavelength: 0.3084 for 450 plus 650 nm, 0.2601 for 470 plus 620 nm, 0.0290 for 430 plus 630 nm and 0.0008 for 405 plus 650 nm. At the crossover the exit point is the 380 nm end of the locus itself, which is why the complementary wavelength just past the threshold is about 570c nm for every one of those pairs.
Every power on this page is a radiant power, and the label matters. Only the ratio of the two boxes reaches the arithmetic, so the unit they are typed in never has to be declared. What does have to be declared is that they are radiant and not photometric, because the same pair of lines crosses over in a different place in the two systems, and the page says which one it is using.
What the verdict is measured against is a table, not a curve fitted to one. That is not a preference: measured against the published approximation instead, this page would answer non-spectral for a single 405 nm line, which is the wrong answer to the question it is asked most often. The references on the page give the figures that rule the approximation out.
Wavelengths are printed to the nearest 1 nm, never to 0.1 nm, and chromaticities to 4 decimal places. Those two formats are the most that the measured conditioning of the locus will support, and the limits section on the page gives the arc lengths they were derived from. Anything the page returns below about 420 nm arrives with a warning attached as well, because a whole nanometre is already a band down there.
What the page does not do is worth naming as plainly as what it does. It mixes exactly two monochromatic lines, so a broad real source has to be integrated against the colour-matching functions before any of it applies; it classifies only inside 380 to 700 nm and refuses anything outside that in words rather than guessing; it fixes one hue boundary only, the published violet band, and names no edge for any other colour; and with both radiant powers at zero it prints no number at all, because the chromaticity is then 0 over 0 rather than a colour.
| Symbol | Quantity | Default unit | Also accepts | Example value |
|---|---|---|---|---|
| λ1 | First spectral line | nm | THz or eV for the same line; 380 to 700 nm | 450 |
| λ2 | Second spectral line | nm | blank for one line only; THz or eV | 650 |
| P1 | Radiant power of line 1 | arb. units | any unit, because only the ratio matters | 1 |
| P2 | Radiant power of line 2 | arb. units | 0 switches line 2 off; never a luminance | 1 |
380 to 700 nm. The unit menu also takes the same line as a frequency in THz or a photon energy in eV, so the 405 nm diode may be entered as 3.061 eV instead.0, is the single-wavelength case. The verdict is then always spectral hue and the dominant wavelength is the line itself — which is the direct answer to whether a given wavelength is violet or purple.1 and 1 is equal radiant power, not equal brightness. The chip power ratio P2 over P1 shows the ratio the arithmetic actually used.spectral hue means the headline is a dominant wavelength; non-spectral (a purple) means it is a complementary wavelength and the colour has no wavelength of its own. Reading the number without the label is exactly the mistake this page exists to stop.566c nm for a purple, 579 nm for a spectral hue. Everything is to the nearest 1 nm, and x and y to 4 decimal places.f = c / λ and E = 1239.84 / λ eV; the first of those is a readout here and is never derived, and the wave speed calculator is where it is rearranged for a wave of any speed. The violet band chip puts line 1 against the published 380 to 435 nm band, which describes the line you typed and not the colour it mixes to.0 is no light rather than a dark colour, so the panel refuses in words instead of printing a false 0 or a false 0.3333. A negative power, and anything outside 380 to 700 nm, are refused the same way.One neighbouring idea is worth separating from this one before you start. What comes back here for a colour is a pair of coordinates, and the pair is what cannot be collapsed into one figure — the guide to the light scale and colour temperature owns the temperature side of the same diagram, where that collapsing goes wrong; this page owns the edge of it, the locus and the line of purples.
The other is the prism. Violet bends most and purple never appears in a prism spread at all, which is not a coincidence: a prism spread is the spectral locus, so anything missing from the locus is missing from the rainbow. The dispersion of light guide covers that spread, and the dispersion of light simulator lets you watch it happen.
λ1 = 450 nm and λ2 = 650 nm at equal radiant power. Both readouts carry the c: the headline unit spells it c nm and the chip closes it up as 566c nm, because the suffix is part of the figure rather than a note about it.The table holds line 1 at 450 nm, line 2 at 650 nm and the line 1 radiant power at 1, and moves the line 2 radiant power alone. Every cell was read out of the running widget rather than worked out by hand. Where a cell and the tool ever part company, believe the tool.
| P2 over P1 (radiant) | x | y | Verdict | Number to report |
|---|---|---|---|---|
| 0.0000 | 0.1566 | 0.0177 | spectral hue | 450 nm |
| 0.2500 | 0.1814 | 0.0289 | spectral hue | 426 nm |
| 0.3084 | 0.1869 | 0.0313 | spectral hue | 380 nm |
| 0.3085 | 0.1869 | 0.0313 | non-spectral (a purple) | 570c nm |
| 1.0000 | 0.2443 | 0.0572 | non-spectral (a purple) | 566c nm |
| 4.0000 | 0.3965 | 0.1257 | non-spectral (a purple) | 536c nm |
| 16.0000 | 0.5804 | 0.2085 | non-spectral (a purple) | 498c nm |
| 64.0000 | 0.6810 | 0.2537 | non-spectral (a purple) | 495c nm |
Three things are worth reading off that table. The first row has line 2 switched off, so the answer is simply the 450 nm line, which is what every single wavelength does here. By a quarter of the red power the mix is still a spectral hue, but its dominant wavelength has already run down to 426 nm — shorter than either line, because the chord from blue to red cuts across the violet corner.
The two middle rows are the whole point of the page. At a ratio of 0.3084 the hue still has a wavelength and that wavelength is 380 nm, the very end of the locus; one part in ten thousand more red, at 0.3085, and there is no wavelength to have — the figure becomes 570c nm. The chromaticity is 0.1869, 0.0313 in both rows, which is why a verdict cannot be eyeballed off four decimal places.
After that the complementary wavelength walks steadily down the green and yellow arc as the red power rises: 566c at 1, 536c at 4, 498c at 16 and 495c nm at 64. The crossover chip reads 0.3084 in every row of the table, because it is a property of the pair and not of the ratio you happen to be at.
| Symbol | What it is | Unit | On this page |
|---|---|---|---|
| λ1 | The first spectral line. A single wavelength, not a band | nm | Box menu reads nm, THz or eV, so one line may be typed three ways. 450 nm is the default; the accepted range is 380 to 700 nm. |
| λ2 | The second line. Blank, or at zero radiant power, means one line only | nm | Same three-unit menu. 650 nm is the default. Clear this box and the page answers the single-wavelength question instead. |
| P1 | The radiant power of line 1, in any arbitrary unit. Never a luminance | arb. units | 1 is the default. Only the ratio of the two powers changes the colour, so 1 and 1 is equal radiant power and 1000 and 1000 gives the identical answer. |
| P2 | The radiant power of line 2. Zero switches line 2 off | arb. units | 1 is the default. Both powers at 0 is the one state with no answer at all, and the panel says so rather than printing a number. |
| x, y | The chromaticity coordinates the verdict is computed from | dimensionless | Printed to 4 decimal places. 0.2443 and 0.0572 at the page defaults. |
| x-bar, y-bar, z-bar | The three colour-matching functions, one tabulated row per nanometre | dimensionless | 321 rows, 380 to 700 nm. At 450 nm they are 0.3362, 0.0380 and 1.7721 at the 4 decimal places this page quotes; the working shows more, because it is reproducing its own arithmetic. |
| E | Illuminant E, the equal-energy white point: the origin of the half-line | dimensionless | Fixed at (0.3333, 0.3333), which is exactly x = 1/3, y = 1/3. It is not an input. |
| dominant λ | Where the half-line from E leaves the spectral locus. Exists only for a spectral hue | nm | Headline when the verdict is spectral hue: 579 nm for the 480 plus 580 nm control, to the nearest 1 nm. |
| complementary λ | Where the REVERSED half-line leaves the locus. This is the number to report for a purple | c nm | Headline when the verdict is non-spectral (a purple): 566c nm at the page defaults. The c is part of the figure. |
| crossover ratio | The radiant power ratio at which that pair stops having a wavelength | dimensionless | A chip, not an input: 0.3084 for 450 plus 650 nm, 0.0008 for 405 plus 650 nm, and none at all for 480 plus 580 nm. |
| c | The speed of light, exact by definition, used as f = c / λ | nm THz | 299792.458 with the wavelength in nm and the frequency in THz: 450 nm is 666.2 THz, and 380 and 435 nm are 788.9 and 689.2 THz. |
| hc | The photon-energy constant, from the SI defining values of h, c and the elementary charge | eV nm | 1239.84 with the wavelength in nm: 405 nm is 3.061 eV, 450 nm is 2.755 eV and 650 nm is 1.907 eV. |
Every colour a single wavelength can make lies on one curve, the spectral locus, and that curve does not close. Joining its two ends — 380 nm at (0.1741, 0.0050) and 700 nm at (0.7347, 0.2653) — takes a straight chord, the line of purples, which is the only stretch of the boundary that no lamp of one wavelength can reach. Purple is that edge.
The construction turns that geometry into a number. Draw a half-line from the equal-energy white point through your colour and extend it until it leaves the diagram: if it leaves by the locus, the wavelength at the exit is the dominant wavelength, and if it leaves by the line of purples there is no wavelength there to read. In the second case the same line is run backwards through the white point instead, and the wavelength it meets on the locus is reported as the complementary wavelength.
Mixing is what puts a colour inside the boundary rather than on it. Two lines at radiant powers P1 and P2 add their tristimulus values, so the mix sits on the straight chord between the two spectral points and always strictly between them. That is why a mixture can never be more saturated than what it is made of, and why its position depends only on the ratio of the powers.
The trap this page is really built to kill is averaging the wavelengths. You can watch it fail in two runs: type the mean of two lines in on its own and the page returns a green with a dominant wavelength, then type the two lines back in and it returns a purple with none. Averaging wavelengths is not averaging colours, and the FAQ below puts the two chromaticities side by side.
Where the hue stops having a wavelength is a sharp threshold, and it is the one quantity on this page that no other calculator exposes. As the red power rises the exit point slides along the locus towards 380 nm, reaches the end of it, and from there on the half-line leaves by the chord instead, for ratios within the purple window that opens at that threshold. At that moment the hue is the 380 nm violet endpoint itself, which is why the complementary wavelength just past the threshold is about 570c nm for every pair the chip has been run on. That window has a far edge as well: raise the ratio further and the exit travels along the chord from the 380 nm corner towards the 700 nm corner, and a mix red enough to reach that far corner reads as a spectral red once more, which is why the verdict chip is recomputed at every ratio rather than carried over.
| Pair (nm) | P2 over P1 | x | y | Verdict | Number to report | Crossover ratio for the pair |
|---|---|---|---|---|---|---|
| 450 + 650 | 0.2500 | 0.1814 | 0.0289 | spectral hue | 426 nm | 0.3084 |
| 450 + 650 | 0.3085 | 0.1869 | 0.0313 | non-spectral (a purple) | 570c nm | 0.3084 |
| 450 + 650 | 1.0000 | 0.2443 | 0.0572 | non-spectral (a purple) | 566c nm | 0.3084 |
| 450 + 650 | 4.0000 | 0.3965 | 0.1257 | non-spectral (a purple) | 536c nm | 0.3084 |
| 405 + 650 | 1.0000 | 0.5847 | 0.2052 | non-spectral (a purple) | 498c nm | 0.0008 |
| 480 + 580 | 1.0000 | 0.3569 | 0.3558 | spectral hue | 579 nm | none: this pair is spectral at every ratio |
The last row is the control, and it is what makes the verdict mean anything. Read along it: 579 nm in the answer column with no c on it, and a crossover column reporting no threshold at any ratio. The 405 nm row above is the opposite extreme — a line that close to the end of the locus turns at 0.0008.
405 nm with no c. Watch the crossover chip — it reads not applicable: one line only rather than inventing a threshold.0.734690 and 0.265310, because the z function is exactly zero there and the ratio of the other two stops moving. Those rows are one point with many labels, not many colours, and a half-line cannot be aimed at a point that stands for all of them. A wavelength outside the band is refused in words rather than guessed at.4.173e-5 in the chromaticity plane per nanometre between 380 and 400 nm, against 1.612e-2 between 500 and 520 nm — 386 times worse conditioned. Carried through to the readout, a slip of 1e-4 in x or y costs 2.40 nm of answer in the deep violet against 0.01 nm in the green, which is why the working attaches a warning to anything it returns below about 420 nm. The figure is still the best one available; it is a band rather than a point.788.9 and 689.2 THz. No edge is asserted for blue, green, yellow or red, because no such edge is sourced here and a hue name is a perceptual judgement rather than a measurement. So a 450 nm line reads as not violet on this page even though plenty of catalogues would call it violet, and where violet ends at the short end is the ultraviolet radiation guide's ground, not this one's.566c nm describes the colour; it is not made of 566 nm light and no 566 nm light looks like it. It is the wavelength that cancels the colour to white, which is why it is written with a c and why this page never calls it a purple's wavelength. Quoting it without the c turns a correct answer into a wrong one.spectral hue, and violet band check says which side of the published edge the line falls on. The frequency and energy chip adds 740.2 THz and 3.061 eV for a 405 nm line, which is what a datasheet can be checked against. Nothing you do to either radiant power box can turn a one-line verdict into a purple.c on it, and the worked table above shows how far the third of them moves when the ratio does. The same construction is what a published two-photon-vision study used to report its own non-spectral results, which is the nearest thing to an outside check on the method.0.3084; for 430 plus 630 nm, 0.0290; for 470 plus 620 nm, 0.2601; and for 405 plus 650 nm, 0.0008, so a thousandth of the violet power in red is already enough. With the red line held fixed, the further the short line sits towards the 380 nm end of the locus the less red it takes; the four figures above do not show that on their own, because the 470 nm row is paired with 620 nm rather than 650 nm.c, it has copied a complementary wavelength and dropped the one character that made it true. That second failure is common enough to be worth reading about: the purple wavelength guide takes the usual quoted figures apart one at a time.
c on the headline, because this mixture does have a wavelength — 579 nm, labelled Dominant wavelength — and the crossover chip says why no ratio would change that.For the mechanism in prose — the short and long cones with the middle of the spectrum quiet, the diagram drawn out, and a full set of worked problems — read the purple wavelength guide, which this tool is the arithmetic half of. The dispersion of light guide covers the prism spread that purple is absent from, the wavelength formula and units guide covers the relation between wavelength and frequency, and the light scale guide covers the other half of the same diagram.
Four tools sit beside this one. The photon energy calculator turns one line into an energy, the wave speed calculator owns the wave relation, the wave number calculator gives phase per metre, and Wien's law calculator gives the peak wavelength of a hot body. The physics lab library and the calculator index are open too.
Purple has none, and that is not a limitation of the measurement. Nothing you can put into a single line comes back as a purple here, because the colours one wavelength can make are exactly the curve the verdict is measured against, and purple is off it. What it does have is a standard numeric descriptor, the complementary wavelength, which this page computes: equal radiant power at 450 and 650 nm reports 566c nm.
It marks the figure as a complementary wavelength rather than a wavelength. The construction draws a half-line from the equal-energy white point through the colour; for a purple that line leaves the diagram on the line of purples, where there is no wavelength, so the same line is run backwards instead and the wavelength it meets on the spectral locus is reported with a c. A 566c nm purple is not made of 566 nm light and no 566 nm light looks like it: 566 nm is the wavelength that cancels it to white.
No, and the two states of this panel are the quickest way to tell them apart. Clear line 2 and the verdict chip can only come back spectral hue, with the line itself as the dominant wavelength and the violet band chip saying whether that line falls inside the published 380 to 435 nm band. Put a short line and a long line in together and push the second radiant power up, and the same chip flips to non-spectral (a purple) with no dominant wavelength left to return.
Yes, and this panel cannot return anything else for it. Leave line 2 empty, type 405 into line 1, and the verdict comes back spectral hue at 3.061 eV with the violet band chip putting that line inside the published 380 to 435 nm band. A catalogue name is not one of the four inputs here: all the page reads is two wavelengths and two radiant powers.
Because averaging two wavelengths is not averaging two colours. The arithmetic mean of 450 and 650 nm is 550 nm, and this page puts the single wavelength 550 nm at x = 0.3016, y = 0.6923, which is a green; the actual mixture of those two lines lands at x = 0.2443, y = 0.0572, which is a purple. The two points are at opposite ends of a plane whose whole gamut spans about 0.8, so the mean-wavelength answer is not a rounding error but a different colour entirely.
No, and the chip that settles it is the crossover one rather than the verdict. Load the control preset and the crossover chip reports no crossover at any ratio at all, which is a statement about that pair of lines and not about the ratio you happen to be sitting on. Push the line 2 power up without limit underneath it and the verdict holds, because the chord between those two lines never comes near the line of purples.
Because a line past 700 nm has nothing distinct for the half-line to aim at, so the panel refuses it in words rather than returning a figure it cannot stand behind. The far end of the tabulated observer is a stack of colours that share one point, and a construction built on points like that would be intersecting edges of zero length. The limits list below gives the measurement that settles where to stop, and 380 to 700 nm is also the visible band this page sources.
Because a tenth of a nanometre is more than the construction can carry at the violet end. The chromaticity it is computed from is given to 4 decimal places, and the last of those places is worth a whole band of wavelengths down there against almost nothing in the green. The limits list below has the measured figures, and the working warns you itself on any answer below about 420 nm.
Because tristimulus values add in radiant terms, so radiant power is the quantity the construction needs rather than a convenience. It also changes the answer the panel gives: the 450 plus 650 nm crossover chip reads 0.3084 as a radiant power ratio, where the same threshold expressed as a luminance ratio would be 0.8685, a factor of 2.82 away. Type a brightness ratio into boxes labelled radiant and the crossover you went looking for is in the wrong place.