#711F9F#711F9F
#711F9F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.193 H 309.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #711F9F |
|---|---|
| RGB | rgb(113, 31, 159) |
| HSL | hsl(278, 67%, 37%) |
| HSV | hsv(278, 81%, 62%) |
| CMYK | cmyk(28.9%, 80.5%, 0%, 37.6%) |
| CIE-LAB | lab(31.79, 55.23, -52.52) |
| CIE-LCH | lch(31.79, 76.22, 316.44°) |
| OKLab | oklab(43.71% 0.1226 -0.1491) |
| OKLCH | oklch(43.71% 0.193 309.4) |
| XYZ | xyz(13.5568, 6.9942, 33.4300) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.75
Rebeccapurple
#663399
ΔE00 3.97
Darkmagenta
#8B008B
ΔE00 7.06
Purple
#800080
ΔE00 7.29
Purple Blue
#5D21D0
ΔE00 8.00
Violet Blue
#510AC9
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#711F9F #4D9F1F
analogous
#311F9F #711F9F #9F1F8D
triadic
#711F9F #9F711F #1F9F71
tetradic
#711F9F #9F311F #4D9F1F #1F8D9F
square
#711F9F #9F311F #4D9F1F #1F8D9F
split-complementary
#711F9F #8D9F1F #1F9F31
monochromatic
#280B39 #4D156C #711F9F #9529D2 #AF5ADF
Accessibility & contrast
On white
8.75
#711F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#711F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #711F9F
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##711F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##711F9F | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#6A405F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #711f9f; /* rgb */ color: rgb(113, 31, 159); /* oklch */ color: oklch(43.7% 0.193 309.4);
Tailwind
colors: {
custom: {
50: '#9f65bc',
500: '#711f9f',
950: '#000000',
},
}SCSS
$custom: #711f9f; $custom-light: #9f65bc; $custom-dark: #000000;
JSON
{
"hex": "#711f9f",
"rgb": {
"r": 113,
"g": 31,
"b": 159
},
"hsl": {
"h": 278.438,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.43708,
"c": 0.19306,
"h": 309.4
},
"luminance": 0.06994
}Semantic roles & 50–950 ramp
primary
#711F9F
secondary
#7EC357
accent
#EA3E7C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81