Purple #800080

#800080Purple
HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
HSVhsv(300, 100%, 50%)
OKLCHoklch(42.1% 0.193 328.4)
OKLABoklab(42.1% 0.165 -0.101)
CMYKcmyk(0%, 100%, 0%, 50%)

Purple (#800080) is a dark, highly saturated magenta hue. Purple has signalled royalty since Tyrian purple dye was made from thousands of sea snails.

In RGB it is made of 128 red, 0 green and 128 blue. Its HSL hue angle is 300° with 100% saturation and 25% lightness, while its perceptual OKLCH lightness is 42% with a chroma of 0.193. For print, a starting CMYK mix is 0% cyan, 100% magenta, 0% yellow and 50% black.

As a text color on white, Purple has a contrast ratio of 9.42:1, which passes WCAG AA for normal text. On black it reaches 2.23:1 and fails AA. If you use Purple as a background, put white text on it. The APCA lightness contrast is Lc 14 for black text and Lc -94 for white text.

Its perceptual complement is #005E23, close to hunter green. Colors that look most similar are plum, indigo, eggplant. People with red-green color blindness see purple quite differently (ΔE 18), so do not rely on it alone to signal meaning.

Contrast

Text on white · 9.42:1 AA ✓
Text on black · 2.23:1 ✗
White on Purple · APCA Lc -94
Black on Purple · APCA Lc 14

Shades and tints of purple

Color harmonies

ComplementaryAnalogousSplit complementaryTriadicTetradicMonochromatic

How purple looks with color blindness

Protanopia: #003D83Deuteranopia: #304B7DTritanopia: #842149Achromatopsia: #464646

Similar colors

Plum#8E4585Indigo#4B0082Eggplant#614051Wine#722F37Burgundy#800020Maroon#800000Charcoal#36454FCoffee#6F4E37

FAQ

What is the hex code for purple?

The hex code for purple is #800080, which is rgb(128, 0, 128) in RGB.

What text color goes on purple?

White text. Its contrast with purple is 9.42:1.

What color is the complement of purple?

The perceptual (OKLCH) complement of #800080 is #005E23.

← All named colors