#802F76#802F76
#802F76 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.142 H 332.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #802F76 |
|---|---|
| RGB | rgb(128, 47, 118) |
| HSL | hsl(307, 46%, 34%) |
| HSV | hsv(307, 63%, 50%) |
| CMYK | cmyk(0%, 63.3%, 7.8%, 49.8%) |
| CIE-LAB | lab(33.84, 44.03, -23.78) |
| CIE-LCH | lch(33.84, 50.04, 331.63°) |
| OKLab | oklab(44.81% 0.1266 -0.065) |
| OKLCH | oklch(44.81% 0.142 332.8) |
| XYZ | xyz(13.1886, 7.9312, 17.9723) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Bruise
#7E4071
ΔE00 4.84
Darkish Purple
#751973
ΔE00 4.86
Warm Purple
#952E8F
ΔE00 5.37
Light Eggplant
#894585
ΔE00 5.61
Grape
#6C3461
ΔE00 5.76
Purple
#800080
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802F76 #2F8039
analogous
#622F80 #802F76 #802F4E
triadic
#802F76 #76802F #2F7680
tetradic
#802F76 #80622F #2F8039 #2F4E80
square
#802F76 #80622F #2F8039 #2F4E80
split-complementary
#802F76 #4E802F #2F8062
monochromatic
#260E23 #531F4D #802F76 #AD3F9F #C663BA
Accessibility & contrast
On white
8.12
#802F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#802F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802F76
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802F76 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#85364E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #802f76; /* rgb */ color: rgb(128, 47, 118); /* oklch */ color: oklch(44.8% 0.142 332.8);
Tailwind
colors: {
custom: {
50: '#a76d9d',
500: '#802f76',
950: '#000000',
},
}SCSS
$custom: #802f76; $custom-light: #a76d9d; $custom-dark: #000000;
JSON
{
"hex": "#802f76",
"rgb": {
"r": 128,
"g": 47,
"b": 118
},
"hsl": {
"h": 307.407,
"s": 46.286,
"l": 34.314
},
"oklch": {
"l": 0.44811,
"c": 0.14227,
"h": 332.8
},
"luminance": 0.0793
}Semantic roles & 50–950 ramp
primary
#802F76
secondary
#5EAD68
accent
#D66252
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E