#7F2571#7F2571
#7F2571 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.152 H 334.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2571 |
|---|---|
| RGB | rgb(127, 37, 113) |
| HSL | hsl(309, 55%, 32%) |
| HSV | hsv(309, 71%, 50%) |
| CMYK | cmyk(0%, 70.9%, 11%, 50.2%) |
| CIE-LAB | lab(31.87, 47.21, -23.71) |
| CIE-LCH | lch(31.87, 52.83, 333.33°) |
| OKLab | oklab(43.27% 0.1374 -0.0647) |
| OKLCH | oklch(43.27% 0.152 334.8) |
| XYZ | xyz(12.3947, 7.0285, 16.3234) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.61
Purple
#800080
ΔE00 5.32
Darkmagenta
#8B008B
ΔE00 5.99
Grape
#6C3461
ΔE00 6.02
Rich Purple
#720058
ΔE00 6.13
Bruise
#7E4071
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2571 #257F33
analogous
#60257F #7F2571 #7F2544
triadic
#7F2571 #717F25 #25717F
tetradic
#7F2571 #7F6025 #257F33 #25447F
square
#7F2571 #7F6025 #257F33 #25447F
split-complementary
#7F2571 #447F25 #257F60
monochromatic
#20091D #501747 #7F2571 #AE339B #CD52B9
Accessibility & contrast
On white
8.73
#7F2571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7F2571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2571
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2571 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#852C48
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f2571; /* rgb */ color: rgb(127, 37, 113); /* oklch */ color: oklch(43.3% 0.152 334.8);
Tailwind
colors: {
custom: {
50: '#a7689a',
500: '#7f2571',
950: '#000000',
},
}SCSS
$custom: #7f2571; $custom-light: #a7689a; $custom-dark: #000000;
JSON
{
"hex": "#7f2571",
"rgb": {
"r": 127,
"g": 37,
"b": 113
},
"hsl": {
"h": 309.333,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.43265,
"c": 0.15184,
"h": 334.8
},
"luminance": 0.07027
}Semantic roles & 50–950 ramp
primary
#7F2571
secondary
#4FB15E
accent
#DE614A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E