#7F2977#7F2977
#7F2977 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.151 H 331.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2977 |
|---|---|
| RGB | rgb(127, 41, 119) |
| HSL | hsl(306, 51%, 33%) |
| HSV | hsv(306, 68%, 50%) |
| CMYK | cmyk(0%, 67.7%, 6.3%, 50.2%) |
| CIE-LAB | lab(32.77, 46.58, -26.10) |
| CIE-LCH | lch(32.77, 53.39, 330.74°) |
| OKLab | oklab(44.02% 0.1332 -0.0716) |
| OKLCH | oklch(44.02% 0.151 331.7) |
| XYZ | xyz(12.8751, 7.4308, 18.2054) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.58
Purple
#800080
ΔE00 5.00
Darkmagenta
#8B008B
ΔE00 5.39
Warm Purple
#952E8F
ΔE00 5.41
Bruise
#7E4071
ΔE00 6.18
Grape
#6C3461
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2977 #297F31
analogous
#5C297F #7F2977 #7F294C
triadic
#7F2977 #777F29 #29777F
tetradic
#7F2977 #7F5C29 #297F31 #294C7F
square
#7F2977 #7F5C29 #297F31 #294C7F
split-complementary
#7F2977 #4C7F29 #297F5C
monochromatic
#220B20 #511A4C #7F2977 #AD38A2 #C959BF
Accessibility & contrast
On white
8.45
#7F2977 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#7F2977 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2977
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2977 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2977 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244579
Deuteranopia (green-blind)
#425175
Tritanopia (blue-blind)
#84314C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7f2977; /* rgb */ color: rgb(127, 41, 119); /* oklch */ color: oklch(44.0% 0.151 331.7);
Tailwind
colors: {
custom: {
50: '#a76a9e',
500: '#7f2977',
950: '#000000',
},
}SCSS
$custom: #7f2977; $custom-light: #a76a9e; $custom-dark: #000000;
JSON
{
"hex": "#7f2977",
"rgb": {
"r": 127,
"g": 41,
"b": 119
},
"hsl": {
"h": 305.581,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.44016,
"c": 0.15123,
"h": 331.7
},
"luminance": 0.0743
}Semantic roles & 50–950 ramp
primary
#7F2977
secondary
#55AF5D
accent
#DB5A4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E