#800080 color (purple)

#800080 is rgb(128, 0, 128) in RGB and hsl(300, 100%, 25%) in HSL. It is exactly the CSS color purple. Use white text on it (contrast 9.42:1).

#800080purple
HEX#800080
RGBrgb(128, 0, 128)
RGB percentrgb(50.2%, 0%, 50.2%)
HSLhsl(300, 100%, 25%)
HSV / HSBhsv(300, 100%, 50%)
CMYKcmyk(0%, 100%, 0%, 50%)
CIELAB (D65)lab(29.8 58.9 -36.5)

Edit in the color converter → · Check contrast → · Shades →

About #800080

#800080 is a dark, vivid magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 128 (50%) and green the weakest at 0 (0%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#800080
RGBrgb(128, 0, 128)
RGB percentrgb(50.2%, 0%, 50.2%)
HSLhsl(300, 100%, 25%)
HSV / HSBhsv(300, 100%, 50%)
CMYKcmyk(0%, 100%, 0%, 50%)
CIELAB (D65)lab(29.8 58.9 -36.5)
Decimal8388736
Binary10000000 00000000 10000000

HEX 80 00 80 → 128, 0, 128 (each pair is a base-16 number: 8×16 + 0 = 128)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #800080

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #800080RatioAA normalAA largeAAA normalAAA large
White text9.42:1PassPassPassPass
Black text2.23:1FailFailFailFail
White text on #800080
Black text on #800080
#800080 text on white
#800080 text on black

Relative luminance is 0.0615 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#003d83

Deuteranopia
#304b7d

Tritanopia
#842149

Achromatopsia
#464646

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 26). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
purple#8000800
darkmagenta#8b008b2.4
rebeccapurple#6633999.6
indigo#4b008210.9

CSS

.element {
  color: #800080;
  background-color: rgb(128, 0, 128);
  border: 1px solid hsl(300, 100%, 25%);
  box-shadow: 0 2px 8px rgb(128 0 128 / 50%);
}
:root { --brand: #800080; }

Frequently asked questions

What color is #800080?
A dark vivid magenta in the pink & magenta family. Closest CSS name: purple.
What is #800080 in RGB?
rgb(128, 0, 128): red 128, green 0, blue 128.
What is the complementary color of #800080?
#008000, found by rotating the hue 180°.