#7F2976#7F2976
#7F2976 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.150 H 332.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2976 |
|---|---|
| RGB | rgb(127, 41, 118) |
| HSL | hsl(306, 51%, 33%) |
| HSV | hsv(306, 68%, 50%) |
| CMYK | cmyk(0%, 67.7%, 7.1%, 50.2%) |
| CIE-LAB | lab(32.72, 46.41, -25.55) |
| CIE-LCH | lch(32.72, 52.98, 331.16°) |
| OKLab | oklab(43.96% 0.1331 -0.07) |
| OKLCH | oklch(43.96% 0.15 332.2) |
| XYZ | xyz(12.8154, 7.4069, 17.8907) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.65
Purple
#800080
ΔE00 5.14
Warm Purple
#952E8F
ΔE00 5.53
Darkmagenta
#8B008B
ΔE00 5.56
Bruise
#7E4071
ΔE00 6.06
Grape
#6C3461
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2976 #297F32
analogous
#5D297F #7F2976 #7F294B
triadic
#7F2976 #767F29 #29767F
tetradic
#7F2976 #7F5D29 #297F32 #294B7F
square
#7F2976 #7F5D29 #297F32 #294B7F
split-complementary
#7F2976 #4B7F29 #297F5D
monochromatic
#220B20 #511A4B #7F2976 #AD38A1 #C959BE
Accessibility & contrast
On white
8.46
#7F2976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#7F2976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2976
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2976 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#435174
Tritanopia (blue-blind)
#84314C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7f2976; /* rgb */ color: rgb(127, 41, 118); /* oklch */ color: oklch(44.0% 0.150 332.2);
Tailwind
colors: {
custom: {
50: '#a76a9e',
500: '#7f2976',
950: '#000000',
},
}SCSS
$custom: #7f2976; $custom-light: #a76a9e; $custom-dark: #000000;
JSON
{
"hex": "#7f2976",
"rgb": {
"r": 127,
"g": 41,
"b": 118
},
"hsl": {
"h": 306.279,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.43961,
"c": 0.1504,
"h": 332.2
},
"luminance": 0.07406
}Semantic roles & 50–950 ramp
primary
#7F2976
secondary
#55AF5E
accent
#DB5C4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E