#71286F#71286F
#71286F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.137 H 328.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #71286F |
|---|---|
| RGB | rgb(113, 40, 111) |
| HSL | hsl(302, 48%, 30%) |
| HSV | hsv(302, 65%, 44%) |
| CMYK | cmyk(0%, 64.6%, 1.8%, 55.7%) |
| CIE-LAB | lab(29.85, 41.79, -25.77) |
| CIE-LCH | lch(29.85, 49.10, 328.34°) |
| OKLab | oklab(41.3% 0.1173 -0.071) |
| OKLCH | oklch(41.3% 0.137 328.8) |
| XYZ | xyz(10.4380, 6.1767, 15.6783) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.73
Grape
#6C3461
ΔE00 5.31
Purple
#800080
ΔE00 5.52
Rich Purple
#720058
ΔE00 6.39
Grape Purple
#5D1451
ΔE00 6.72
Darkmagenta
#8B008B
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#71286F #28712A
analogous
#4F2871 #71286F #71284A
triadic
#71286F #6F7128 #286F71
tetradic
#71286F #714F28 #28712A #284A71
square
#71286F #714F28 #28712A #284A71
split-complementary
#71286F #4A7128 #28714F
monochromatic
#170816 #441843 #71286F #9E389B #C252BF
Accessibility & contrast
On white
9.40
#71286F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#71286F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #71286F
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##71286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##71286F | 1.00 | 9.40 | 2.24 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#3A4A6D
Tritanopia (blue-blind)
#753147
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #71286f; /* rgb */ color: rgb(113, 40, 111); /* oklch */ color: oklch(41.3% 0.137 328.8);
Tailwind
colors: {
custom: {
50: '#9c6898',
500: '#71286f',
950: '#000000',
},
}SCSS
$custom: #71286f; $custom-light: #9c6898; $custom-dark: #000000;
JSON
{
"hex": "#71286f",
"rgb": {
"r": 113,
"g": 40,
"b": 111
},
"hsl": {
"h": 301.644,
"s": 47.712,
"l": 30
},
"oklch": {
"l": 0.41301,
"c": 0.13711,
"h": 328.8
},
"luminance": 0.06176
}Semantic roles & 50–950 ramp
primary
#71286F
secondary
#52A354
accent
#D75450
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E