#5D139E#5D139E
#5D139E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.1% C 0.197 H 301.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5D139E |
|---|---|
| RGB | rgb(93, 19, 158) |
| HSL | hsl(272, 79%, 35%) |
| HSV | hsv(272, 88%, 62%) |
| CMYK | cmyk(41.1%, 88%, 0%, 38%) |
| CIE-LAB | lab(27.47, 55.69, -59.10) |
| CIE-LCH | lch(27.47, 81.21, 313.30°) |
| OKLab | oklab(40.07% 0.1018 -0.1691) |
| OKLCH | oklch(40.07% 0.197 301.1) |
| XYZ | xyz(10.9171, 5.2614, 32.7815) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.33
Indigo Blue
#3A18B1
ΔE00 5.77
Rebeccapurple
#663399
ΔE00 5.87
Violet Blue
#510AC9
ΔE00 6.06
Purple (survey)
#7E1E9C
ΔE00 6.74
Indigo (survey)
#380282
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D139E #549E13
analogous
#17139E #5D139E #9E139A
triadic
#5D139E #9E5D13 #139E5D
tetradic
#5D139E #9E1713 #549E13 #139A9E
square
#5D139E #9E1713 #549E13 #139A9E
split-complementary
#5D139E #9A9E13 #139E17
monochromatic
#1D0631 #3D0C67 #5D139E #7D1AD5 #9B43E8
Accessibility & contrast
On white
10.23
#5D139E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#5D139E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D139E
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D139E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D139E | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#4E3E5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #5d139e; /* rgb */ color: rgb(93, 19, 158); /* oklch */ color: oklch(40.1% 0.197 301.1);
Tailwind
colors: {
custom: {
50: '#925ebc',
500: '#5d139e',
950: '#000000',
},
}SCSS
$custom: #5d139e; $custom-light: #925ebc; $custom-dark: #000000;
JSON
{
"hex": "#5d139e",
"rgb": {
"r": 93,
"g": 19,
"b": 158
},
"hsl": {
"h": 271.942,
"s": 78.531,
"l": 34.706
},
"oklch": {
"l": 0.40068,
"c": 0.19737,
"h": 301.1
},
"luminance": 0.05262
}Semantic roles & 50–950 ramp
primary
#5D139E
secondary
#82C944
accent
#F5338E
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0512
muted
#7E7981