#712F71#712F71
#712F71 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.3% C 0.128 H 327.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #712F71 |
|---|---|
| RGB | rgb(113, 47, 113) |
| HSL | hsl(300, 41%, 31%) |
| HSV | hsv(300, 58%, 44%) |
| CMYK | cmyk(0%, 58.4%, 0%, 55.7%) |
| CIE-LAB | lab(31.20, 38.78, -24.93) |
| CIE-LCH | lch(31.20, 46.10, 327.27°) |
| OKLab | oklab(42.32% 0.1079 -0.0686) |
| OKLCH | oklch(42.32% 0.128 327.5) |
| XYZ | xyz(10.8070, 6.7367, 16.3507) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.07
Grape
#6C3461
ΔE00 4.65
Bruise
#7E4071
ΔE00 5.91
Purple
#800080
ΔE00 6.56
Light Eggplant
#894585
ΔE00 7.36
Darkmagenta
#8B008B
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#712F71 #2F712F
analogous
#502F71 #712F71 #712F50
triadic
#712F71 #71712F #2F7171
tetradic
#712F71 #71502F #2F712F #2F5071
square
#712F71 #71502F #2F712F #2F5071
split-complementary
#712F71 #50712F #2F7150
monochromatic
#1B0B1B #461D46 #712F71 #9C419C #BC5EBC
Accessibility & contrast
On white
8.95
#712F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#712F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #712F71
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##712F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##712F71 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#3E4C6F
Tritanopia (blue-blind)
#74374B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #712f71; /* rgb */ color: rgb(113, 47, 113); /* oklch */ color: oklch(42.3% 0.128 327.5);
Tailwind
colors: {
custom: {
50: '#9c6b9a',
500: '#712f71',
950: '#000000',
},
}SCSS
$custom: #712f71; $custom-light: #9c6b9a; $custom-dark: #000000;
JSON
{
"hex": "#712f71",
"rgb": {
"r": 113,
"g": 47,
"b": 113
},
"hsl": {
"h": 300,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.42317,
"c": 0.12788,
"h": 327.5
},
"luminance": 0.06736
}Semantic roles & 50–950 ramp
primary
#712F71
secondary
#5AA25A
accent
#D15757
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E