#842471#842471
#842471 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.156 H 337.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #842471 |
|---|---|
| RGB | rgb(132, 36, 113) |
| HSL | hsl(312, 57%, 33%) |
| HSV | hsv(312, 73%, 52%) |
| CMYK | cmyk(0%, 72.7%, 14.4%, 48.2%) |
| CIE-LAB | lab(32.61, 48.91, -22.48) |
| CIE-LCH | lch(32.61, 53.83, 335.31°) |
| OKLab | oklab(43.97% 0.1439 -0.0611) |
| OKLCH | oklch(43.97% 0.156 337) |
| XYZ | xyz(13.1275, 7.3607, 16.3490) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.51
Purple
#800080
ΔE00 5.80
Warm Purple
#952E8F
ΔE00 6.06
Darkmagenta
#8B008B
ΔE00 6.18
Bruise
#7E4071
ΔE00 6.22
Red Violet
#9E0168
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842471 #248437
analogous
#672484 #842471 #842441
triadic
#842471 #718424 #247184
tetradic
#842471 #846724 #248437 #244184
square
#842471 #846724 #248437 #244184
split-complementary
#842471 #418424 #248467
monochromatic
#240A1F #541748 #842471 #B4319A #D052B7
Accessibility & contrast
On white
8.50
#842471 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#842471 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842471
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842471 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842471 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#8B2A47
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #842471; /* rgb */ color: rgb(132, 36, 113); /* oklch */ color: oklch(44.0% 0.156 337.0);
Tailwind
colors: {
custom: {
50: '#ab689a',
500: '#842471',
950: '#000000',
},
}SCSS
$custom: #842471; $custom-light: #ab689a; $custom-dark: #000000;
JSON
{
"hex": "#842471",
"rgb": {
"r": 132,
"g": 36,
"b": 113
},
"hsl": {
"h": 311.875,
"s": 57.143,
"l": 32.941
},
"oklch": {
"l": 0.43972,
"c": 0.15635,
"h": 337
},
"luminance": 0.0736
}Semantic roles & 50–950 ramp
primary
#842471
secondary
#50B464
accent
#E06647
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E