#5F119F#5F119F
#5F119F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.3% C 0.200 H 301.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5F119F |
|---|---|
| RGB | rgb(95, 17, 159) |
| HSL | hsl(273, 81%, 35%) |
| HSV | hsv(273, 89%, 62%) |
| CMYK | cmyk(40.3%, 89.3%, 0%, 37.6%) |
| CIE-LAB | lab(27.67, 56.71, -59.36) |
| CIE-LCH | lch(27.67, 82.09, 313.69°) |
| OKLab | oklab(40.3% 0.1056 -0.1698) |
| OKLCH | oklch(40.3% 0.2 301.9) |
| XYZ | xyz(11.1762, 5.3369, 33.2355) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.51
Rebeccapurple
#663399
ΔE00 5.91
Indigo Blue
#3A18B1
ΔE00 5.99
Violet Blue
#510AC9
ΔE00 6.05
Purple (survey)
#7E1E9C
ΔE00 6.50
Purple Blue
#5D21D0
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F119F #519F11
analogous
#18119F #5F119F #9F1198
triadic
#5F119F #9F5F11 #119F5F
tetradic
#5F119F #9F1811 #519F11 #11989F
square
#5F119F #9F1811 #519F11 #11989F
split-complementary
#5F119F #989F11 #119F18
monochromatic
#1D0530 #3E0B68 #5F119F #8017D6 #9E40EB
Accessibility & contrast
On white
10.16
#5F119F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#5F119F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F119F
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F119F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F119F | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#513E5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #5f119f; /* rgb */ color: rgb(95, 17, 159); /* oklch */ color: oklch(40.3% 0.200 301.9);
Tailwind
colors: {
custom: {
50: '#945ebc',
500: '#5f119f',
950: '#000000',
},
}SCSS
$custom: #5f119f; $custom-light: #945ebc; $custom-dark: #000000;
JSON
{
"hex": "#5f119f",
"rgb": {
"r": 95,
"g": 17,
"b": 159
},
"hsl": {
"h": 272.958,
"s": 80.682,
"l": 34.51
},
"oklch": {
"l": 0.40299,
"c": 0.19989,
"h": 301.9
},
"luminance": 0.05337
}Semantic roles & 50–950 ramp
primary
#5F119F
secondary
#7FCA42
accent
#F7318A
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981