Purple Color
Purple is a vivid, dark magenta with hex code #800080. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Purple color codes
| HEX | #800080 | |
|---|---|---|
| RGB | rgb(128, 0, 128) | |
| HSL | hsl(300, 100%, 25%) | |
| HSV | 300°, 100%, 50% | |
| CMYK | 0%, 100%, 0%, 50% | |
| OKLCH | oklch(42.1% 0.193 328.4) | |
| Tailwind | bg-[#800080] |
Closest Tailwind colour: fuchsia-800 (#86198F). Convert any colour in the Color Converter.
About Purple
Purple (#800080) is a vivid, dark magenta. In the RGB model it is 50% red, 0% green and 50% blue; 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.
It is a warm colour and appears in our shades of purple. Text on it reads best in white (9.4:1 contrast).
Purple tints and shades
Tints mix purple with white; shades mix it with black. Click to copy.
Colors that go with Purple
Complementary
Analogous
Triadic
Split complementary
Purple contrast
- AA text pass
- AAA text pass
- AA large pass
- AA text fail
- AAA text fail
- AA large fail
Using Purple in CSS
.brand {
color: #800080;
}
.button {
background: #800080;
color: #fff;
}
.hero {
background: linear-gradient(135deg, #ac59ac, #800080, #530053);
}Similar colors
Gradients with Purple
Purple FAQ
What color is Purple?
Purple is a vivid, dark magenta. Its hex code is #800080 and it is a warm colour.
What is the hex code for Purple?
The hex code for Purple is #800080. In RGB that is rgb(128, 0, 128), and in HSL hsl(300, 100%, 25%).
What is Purple in CMYK?
Purple is roughly C 0%, M 100%, Y 0%, K 50% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Purple?
Its complementary colour is #008000. For a calmer palette use its analogous colours #400080 and #800040, or tints and shades of Purple itself.
Is white or black text better on Purple?
White text reads better on Purple: 9.4:1 contrast, against 2.2:1 for black. WCAG asks for 4.5:1 for body text.
