#7F0F71#7F0F71
#7F0F71 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.174 H 334.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F0F71 |
|---|---|
| RGB | rgb(127, 15, 113) |
| HSL | hsl(308, 79%, 28%) |
| HSV | hsv(308, 88%, 50%) |
| CMYK | cmyk(0%, 88.2%, 11%, 50.2%) |
| CIE-LAB | lab(29.53, 53.91, -27.39) |
| CIE-LCH | lch(29.53, 60.47, 333.07°) |
| OKLab | oklab(41.58% 0.1571 -0.0751) |
| OKLCH | oklch(41.58% 0.174 334.4) |
| XYZ | xyz(11.9040, 6.0470, 16.1598) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.34
Purple
#800080
ΔE00 3.33
Darkmagenta
#8B008B
ΔE00 4.75
Rich Purple
#720058
ΔE00 5.02
Velvet
#750851
ΔE00 6.77
Warm Purple
#952E8F
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F0F71 #0F7F1D
analogous
#550F7F #7F0F71 #7F0F39
triadic
#7F0F71 #717F0F #0F717F
tetradic
#7F0F71 #7F550F #0F7F1D #0F397F
square
#7F0F71 #7F550F #0F7F1D #0F397F
split-complementary
#7F0F71 #397F0F #0F7F55
monochromatic
#1B0318 #480940 #7F0F71 #B615A2 #E523CD
Accessibility & contrast
On white
9.51
#7F0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F0F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F0F71
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F0F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F0F71 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C3B73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#861D42
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f0f71; /* rgb */ color: rgb(127, 15, 113); /* oklch */ color: oklch(41.6% 0.174 334.4);
Tailwind
colors: {
custom: {
50: '#a8609a',
500: '#7f0f71',
950: '#000000',
},
}SCSS
$custom: #7f0f71; $custom-light: #a8609a; $custom-dark: #000000;
JSON
{
"hex": "#7f0f71",
"rgb": {
"r": 127,
"g": 15,
"b": 113
},
"hsl": {
"h": 307.5,
"s": 78.873,
"l": 27.843
},
"oklch": {
"l": 0.41583,
"c": 0.17419,
"h": 334.4
},
"luminance": 0.06046
}Semantic roles & 50–950 ramp
primary
#7F0F71
secondary
#34B544
accent
#F54B32
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E