#7F106D#7F106D
#7F106D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 336.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7F106D |
|---|---|
| RGB | rgb(127, 16, 109) |
| HSL | hsl(310, 78%, 28%) |
| HSV | hsv(310, 87%, 50%) |
| CMYK | cmyk(0%, 87.4%, 14.2%, 50.2%) |
| CIE-LAB | lab(29.38, 53.10, -25.06) |
| CIE-LCH | lch(29.38, 58.72, 334.74°) |
| OKLab | oklab(41.4% 0.1564 -0.0684) |
| OKLCH | oklch(41.4% 0.171 336.4) |
| XYZ | xyz(11.6982, 5.9879, 15.0047) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.96
Purple
#800080
ΔE00 4.24
Rich Purple
#720058
ΔE00 4.36
Darkmagenta
#8B008B
ΔE00 5.57
Velvet
#750851
ΔE00 5.91
Grape Purple
#5D1451
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F106D #107F22
analogous
#59107F #7F106D #7F1035
triadic
#7F106D #6D7F10 #106D7F
tetradic
#7F106D #7F5910 #107F22 #10357F
square
#7F106D #7F5910 #107F22 #10357F
split-complementary
#7F106D #357F10 #107F59
monochromatic
#1B0317 #49093E #7F106D #B5179C #E426C5
Accessibility & contrast
On white
9.56
#7F106D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7F106D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F106D
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F106D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F106D | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133B6F
Deuteranopia (green-blind)
#3E4B6B
Tritanopia (blue-blind)
#861B40
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f106d; /* rgb */ color: rgb(127, 16, 109); /* oklch */ color: oklch(41.4% 0.171 336.4);
Tailwind
colors: {
custom: {
50: '#a86097',
500: '#7f106d',
950: '#000000',
},
}SCSS
$custom: #7f106d; $custom-light: #a86097; $custom-dark: #000000;
JSON
{
"hex": "#7f106d",
"rgb": {
"r": 127,
"g": 16,
"b": 109
},
"hsl": {
"h": 309.73,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.41405,
"c": 0.17069,
"h": 336.4
},
"luminance": 0.05987
}Semantic roles & 50–950 ramp
primary
#7F106D
secondary
#36B54A
accent
#F45334
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E