#802B76#802B76
#802B76 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.148 H 332.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #802B76 |
|---|---|
| RGB | rgb(128, 43, 118) |
| HSL | hsl(307, 50%, 34%) |
| HSV | hsv(307, 66%, 50%) |
| CMYK | cmyk(0%, 66.4%, 7.8%, 49.8%) |
| CIE-LAB | lab(33.19, 45.82, -24.79) |
| CIE-LCH | lch(33.19, 52.10, 331.58°) |
| OKLab | oklab(44.34% 0.1318 -0.0679) |
| OKLCH | oklch(44.34% 0.148 332.7) |
| XYZ | xyz(13.0360, 7.6260, 17.9214) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.14
Warm Purple
#952E8F
ΔE00 5.38
Purple
#800080
ΔE00 5.59
Bruise
#7E4071
ΔE00 5.62
Darkmagenta
#8B008B
ΔE00 5.88
Grape
#6C3461
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802B76 #2B8035
analogous
#5F2B80 #802B76 #802B4B
triadic
#802B76 #76802B #2B7680
tetradic
#802B76 #805F2B #2B8035 #2B4B80
square
#802B76 #805F2B #2B8035 #2B4B80
split-complementary
#802B76 #4B802B #2B805F
monochromatic
#240C22 #521C4C #802B76 #AE3AA0 #C95DBC
Accessibility & contrast
On white
8.32
#802B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#802B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802B76
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802B76 | 1.00 | 8.32 | 2.53 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#455274
Tritanopia (blue-blind)
#86324C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #802b76; /* rgb */ color: rgb(128, 43, 118); /* oklch */ color: oklch(44.3% 0.148 332.7);
Tailwind
colors: {
custom: {
50: '#a86b9e',
500: '#802b76',
950: '#000000',
},
}SCSS
$custom: #802b76; $custom-light: #a86b9e; $custom-dark: #000000;
JSON
{
"hex": "#802b76",
"rgb": {
"r": 128,
"g": 43,
"b": 118
},
"hsl": {
"h": 307.059,
"s": 49.708,
"l": 33.529
},
"oklch": {
"l": 0.44339,
"c": 0.1482,
"h": 332.7
},
"luminance": 0.07625
}Semantic roles & 50–950 ramp
primary
#802B76
secondary
#58AE63
accent
#D95F4F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E