Purple color: hex code #800080

#800080 rgb(128, 0, 128)
Shades of purple

Purple has the hex code #800080. It is a dark, vivid magenta.

In the RGB color model it is made of 50.2% red, 0% green and 50.2% blue (128, 0, 128).

Its hue angle is 300°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 0% yellow and 50% black.

You can use it in CSS with the keyword purple.

White text is the more readable choice on this background (contrast 9.42:1).

Purple (#800080) color codes

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%)
CIE LABlab(29.78, 58.93, -36.49)
CIE LCHlch(29.78, 69.31, 328.23)
CIE XYZxyz(12.798, 6.149, 20.931)
Decimal8388736
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Purple, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #800080RatioAAAAAAA large
Sample text2.23:1FailFailFail
Sample text9.42:1PassPassPass
#800080 as text onRatioAAAAAAA large
Sample text9.42:1PassPassPass
Sample text2.23:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #800080 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #800080; }
.text { color: #800080; }
.border { border: 2px solid #800080; }
.transparent { background-color: rgb(128 0 128 / 50%); }
.gradient { background: linear-gradient(to right, #800080, #800040); }
Background
Text color
Border

Similar colors

See #800080 on its hex code page

Questions

What color is #800080?
#800080 is a dark, vivid magenta known as Purple. It belongs to the purple family of colors.
What is the RGB value of Purple?
The RGB value is 128, 0, 128: 128 red, 0 green and 128 blue on a 0 to 255 scale.
What is the complementary color of Purple?
The complementary color is #008000, found by rotating the hue 180° on the color wheel.
Is black or white text better on #800080?
White text. Black text has a contrast ratio of 2.23:1 and white text 9.42:1. WCAG asks for at least 4.5:1 for normal text.