#802F71#802F71
#802F71 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.138 H 335.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #802F71 |
|---|---|
| RGB | rgb(128, 47, 113) |
| HSL | hsl(311, 46%, 34%) |
| HSV | hsv(311, 63%, 50%) |
| CMYK | cmyk(0%, 63.3%, 11.7%, 49.8%) |
| CIE-LAB | lab(33.60, 43.17, -21.01) |
| CIE-LCH | lch(33.60, 48.01, 334.05°) |
| OKLab | oklab(44.55% 0.1258 -0.0571) |
| OKLCH | oklch(44.55% 0.138 335.6) |
| XYZ | xyz(12.8994, 7.8155, 16.4487) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.30
Grape
#6C3461
ΔE00 5.06
Darkish Purple
#751973
ΔE00 5.43
Light Eggplant
#894585
ΔE00 5.96
Warm Purple
#952E8F
ΔE00 6.22
Purple
#800080
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802F71 #2F803E
analogous
#672F80 #802F71 #802F49
triadic
#802F71 #71802F #2F7180
tetradic
#802F71 #80672F #2F803E #2F4980
square
#802F71 #80672F #2F803E #2F4980
split-complementary
#802F71 #49802F #2F8067
monochromatic
#260E22 #531F49 #802F71 #AD3F99 #C663B4
Accessibility & contrast
On white
8.19
#802F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#802F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802F71
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802F71 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#49536F
Tritanopia (blue-blind)
#86344B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #802f71; /* rgb */ color: rgb(128, 47, 113); /* oklch */ color: oklch(44.6% 0.138 335.6);
Tailwind
colors: {
custom: {
50: '#a76d9a',
500: '#802f71',
950: '#000000',
},
}SCSS
$custom: #802f71; $custom-light: #a76d9a; $custom-dark: #000000;
JSON
{
"hex": "#802f71",
"rgb": {
"r": 128,
"g": 47,
"b": 113
},
"hsl": {
"h": 311.111,
"s": 46.286,
"l": 34.314
},
"oklch": {
"l": 0.44553,
"c": 0.13813,
"h": 335.6
},
"luminance": 0.07814
}Semantic roles & 50–950 ramp
primary
#802F71
secondary
#5EAD6D
accent
#D66A52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E