#7F136F#7F136F
#7F136F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.170 H 335.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7F136F |
|---|---|
| RGB | rgb(127, 19, 111) |
| HSL | hsl(309, 74%, 29%) |
| HSV | hsv(309, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 12.6%, 50.2%) |
| CIE-LAB | lab(29.73, 52.71, -25.80) |
| CIE-LCH | lch(29.73, 58.68, 333.92°) |
| OKLab | oklab(41.69% 0.1544 -0.0706) |
| OKLCH | oklch(41.69% 0.17 335.4) |
| XYZ | xyz(11.8547, 6.1266, 15.5941) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.66
Purple
#800080
ΔE00 3.95
Rich Purple
#720058
ΔE00 4.75
Darkmagenta
#8B008B
ΔE00 5.24
Velvet
#750851
ΔE00 6.32
Grape Purple
#5D1451
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F136F #137F23
analogous
#59137F #7F136F #7F1339
triadic
#7F136F #6F7F13 #136F7F
tetradic
#7F136F #7F5913 #137F23 #13397F
square
#7F136F #7F5913 #137F23 #13397F
split-complementary
#7F136F #397F13 #137F59
monochromatic
#1B0417 #4A0B40 #7F136F #B41B9E #E02DC5
Accessibility & contrast
On white
9.44
#7F136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7F136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F136F
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F136F | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133C71
Deuteranopia (green-blind)
#3D4C6D
Tritanopia (blue-blind)
#861E42
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f136f; /* rgb */ color: rgb(127, 19, 111); /* oklch */ color: oklch(41.7% 0.170 335.4);
Tailwind
colors: {
custom: {
50: '#a86198',
500: '#7f136f',
950: '#000000',
},
}SCSS
$custom: #7f136f; $custom-light: #a86198; $custom-dark: #000000;
JSON
{
"hex": "#7f136f",
"rgb": {
"r": 127,
"g": 19,
"b": 111
},
"hsl": {
"h": 308.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.41689,
"c": 0.16977,
"h": 335.4
},
"luminance": 0.06125
}Semantic roles & 50–950 ramp
primary
#7F136F
secondary
#39B44C
accent
#F15337
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E