#7F1972#7F1972
#7F1972 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.167 H 334.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1972 |
|---|---|
| RGB | rgb(127, 25, 114) |
| HSL | hsl(308, 67%, 30%) |
| HSV | hsv(308, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 10.2%, 50.2%) |
| CIE-LAB | lab(30.46, 51.54, -26.57) |
| CIE-LCH | lch(30.46, 57.99, 332.73°) |
| OKLab | oklab(42.26% 0.1497 -0.0728) |
| OKLCH | oklch(42.26% 0.167 334.1) |
| XYZ | xyz(12.1374, 6.4233, 16.5169) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.39
Purple
#800080
ΔE00 3.74
Darkmagenta
#8B008B
ΔE00 4.86
Rich Purple
#720058
ΔE00 5.45
Warm Purple
#952E8F
ΔE00 6.81
Velvet
#750851
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1972 #197F26
analogous
#59197F #7F1972 #7F193F
triadic
#7F1972 #727F19 #19727F
tetradic
#7F1972 #7F5919 #197F26 #193F7F
square
#7F1972 #7F5919 #197F26 #193F7F
split-complementary
#7F1972 #3F7F19 #197F59
monochromatic
#1A0517 #4C0F44 #7F1972 #B223A0 #D83AC4
Accessibility & contrast
On white
9.19
#7F1972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7F1972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1972
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1972 | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#3E4D70
Tritanopia (blue-blind)
#852445
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f1972; /* rgb */ color: rgb(127, 25, 114); /* oklch */ color: oklch(42.3% 0.167 334.1);
Tailwind
colors: {
custom: {
50: '#a8639b',
500: '#7f1972',
950: '#000000',
},
}SCSS
$custom: #7f1972; $custom-light: #a8639b; $custom-dark: #000000;
JSON
{
"hex": "#7f1972",
"rgb": {
"r": 127,
"g": 25,
"b": 114
},
"hsl": {
"h": 307.647,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.42262,
"c": 0.16652,
"h": 334.1
},
"luminance": 0.06422
}Semantic roles & 50–950 ramp
primary
#7F1972
secondary
#41B34F
accent
#EA543E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E