#7F2973#7F2973
#7F2973 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.148 H 333.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2973 |
|---|---|
| RGB | rgb(127, 41, 115) |
| HSL | hsl(308, 51%, 33%) |
| HSV | hsv(308, 68%, 50%) |
| CMYK | cmyk(0%, 67.7%, 9.4%, 50.2%) |
| CIE-LAB | lab(32.56, 45.90, -23.90) |
| CIE-LCH | lch(32.56, 51.75, 332.50°) |
| OKLab | oklab(43.8% 0.1328 -0.0653) |
| OKLCH | oklch(43.8% 0.148 333.8) |
| XYZ | xyz(12.6399, 7.3367, 16.9667) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.94
Purple
#800080
ΔE00 5.60
Bruise
#7E4071
ΔE00 5.75
Grape
#6C3461
ΔE00 5.84
Warm Purple
#952E8F
ΔE00 5.93
Darkmagenta
#8B008B
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2973 #297F35
analogous
#60297F #7F2973 #7F2948
triadic
#7F2973 #737F29 #29737F
tetradic
#7F2973 #7F6029 #297F35 #29487F
square
#7F2973 #7F6029 #297F35 #29487F
split-complementary
#7F2973 #487F29 #297F60
monochromatic
#220B1F #511A49 #7F2973 #AD389D #C959BA
Accessibility & contrast
On white
8.51
#7F2973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#7F2973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2973
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2973 | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274575
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#85304A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7f2973; /* rgb */ color: rgb(127, 41, 115); /* oklch */ color: oklch(43.8% 0.148 333.8);
Tailwind
colors: {
custom: {
50: '#a76a9b',
500: '#7f2973',
950: '#000000',
},
}SCSS
$custom: #7f2973; $custom-light: #a76a9b; $custom-dark: #000000;
JSON
{
"hex": "#7f2973",
"rgb": {
"r": 127,
"g": 41,
"b": 115
},
"hsl": {
"h": 308.372,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.43798,
"c": 0.14796,
"h": 333.8
},
"luminance": 0.07336
}Semantic roles & 50–950 ramp
primary
#7F2973
secondary
#55AF62
accent
#DB614D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E