#7F2974#7F2974
#7F2974 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.149 H 333.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2974 |
|---|---|
| RGB | rgb(127, 41, 116) |
| HSL | hsl(308, 51%, 33%) |
| HSV | hsv(308, 68%, 50%) |
| CMYK | cmyk(0%, 67.7%, 8.7%, 50.2%) |
| CIE-LAB | lab(32.61, 46.07, -24.45) |
| CIE-LCH | lch(32.61, 52.15, 332.04°) |
| OKLab | oklab(43.85% 0.1329 -0.0669) |
| OKLCH | oklch(43.85% 0.149 333.3) |
| XYZ | xyz(12.6978, 7.3599, 17.2714) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.83
Purple
#800080
ΔE00 5.44
Warm Purple
#952E8F
ΔE00 5.79
Bruise
#7E4071
ΔE00 5.84
Darkmagenta
#8B008B
ΔE00 5.91
Grape
#6C3461
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2974 #297F34
analogous
#5F297F #7F2974 #7F2949
triadic
#7F2974 #747F29 #29747F
tetradic
#7F2974 #7F5F29 #297F34 #29497F
square
#7F2974 #7F5F29 #297F34 #29497F
split-complementary
#7F2974 #497F29 #297F5F
monochromatic
#220B1F #511A4A #7F2974 #AD389E #C959BB
Accessibility & contrast
On white
8.50
#7F2974 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#7F2974 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2974
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2974 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2974 | 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)
#274576
Deuteranopia (green-blind)
#445172
Tritanopia (blue-blind)
#85304A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7f2974; /* rgb */ color: rgb(127, 41, 116); /* oklch */ color: oklch(43.9% 0.149 333.3);
Tailwind
colors: {
custom: {
50: '#a76a9c',
500: '#7f2974',
950: '#000000',
},
}SCSS
$custom: #7f2974; $custom-light: #a76a9c; $custom-dark: #000000;
JSON
{
"hex": "#7f2974",
"rgb": {
"r": 127,
"g": 41,
"b": 116
},
"hsl": {
"h": 307.674,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.43852,
"c": 0.14877,
"h": 333.3
},
"luminance": 0.07359
}Semantic roles & 50–950 ramp
primary
#7F2974
secondary
#55AF61
accent
#DB5F4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E