Where the name purple comes from
purple is a named color in CSS Color 4, section 6.1.
One of the sixteen HTML 4.01 names (section 6.5), value #800080; CSS Color 4 says these came from the VGA palette.
CSS Color Module Level 4 lists the change "Addition of named color rebeccapurple" (#663399); purple kept its value #800080, which is fuchsia (#FF00FF) with the red and blue channels at 128 of 255 instead of 255.
No three-digit short form.
Shades and tints of Purple
- 10% white
#8D1A8Ddarkmagenta; 10% black#730073purple - 20% white
#993399; 20% black#660066 - 30% white
#A64DA6; 30% black#5A005A - 40% white
#B366B3; 40% black#4D004D - 50% white
#C080C0; 50% black#400040
Contrast of #800080
Against white 9.42:1 (passes AAA), against black 2.23:1 (fails); white text reads better on Purple. In HSV it is hsv(300, 100%, 50%).
Lightness rank 129 of 139; best partner white, 9.42:1.
Closest names to Purple
Purple has OKLCH hue 328 degrees.
| Name | Hex | OKLab distance | Than Purple |
|---|---|---|---|
darkmagenta | #8B008B | 0.028 | lighter |
rebeccapurple | #663399 | 0.085 | lighter |
indigo | #4B0082 | 0.120 | darker |
darkslateblue | #483D8B | 0.132 | darker |
darkviolet | #9400D3 | 0.136 | lighter |
darkorchid | #9932CC | 0.139 | lighter |
mediumvioletred | #C71585 | 0.156 | lighter |
Color harmony for Purple
Purple with color vision deficiency
- Protanopia:
#003D83 - Deuteranopia:
#304B7D - Tritanopia:
#842149
FAQ
What is the hex code for Purple?
#800080, or the keyword purple.
Which named color is closest to Purple?
darkmagenta (#8B008B), then rebeccapurple and indigo.