#5E18A0#5E18A0
#5E18A0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.196 H 300.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5E18A0 |
|---|---|
| RGB | rgb(94, 24, 160) |
| HSL | hsl(271, 74%, 36%) |
| HSV | hsv(271, 85%, 63%) |
| CMYK | cmyk(41.3%, 85%, 0%, 37.3%) |
| CIE-LAB | lab(28.30, 54.80, -58.94) |
| CIE-LCH | lch(28.30, 80.48, 312.91°) |
| OKLab | oklab(40.73% 0.0997 -0.1686) |
| OKLCH | oklch(40.73% 0.196 300.6) |
| XYZ | xyz(11.2863, 5.5709, 33.7316) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.31
Indigo Blue
#3A18B1
ΔE00 5.75
Violet Blue
#510AC9
ΔE00 5.86
Indigo
#4B0082
ΔE00 5.93
Purple (survey)
#7E1E9C
ΔE00 6.47
Purple Blue
#5D21D0
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E18A0 #5AA018
analogous
#1A18A0 #5E18A0 #A0189E
triadic
#5E18A0 #A05E18 #18A05E
tetradic
#5E18A0 #A01A18 #5AA018 #189EA0
square
#5E18A0 #A01A18 #5AA018 #189EA0
split-complementary
#5E18A0 #9EA018 #18A01A
monochromatic
#1F0836 #3F106B #5E18A0 #7D20D5 #9B4EE4
Accessibility & contrast
On white
9.93
#5E18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#5E18A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E18A0
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E18A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E18A0 | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#4E405F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #5e18a0; /* rgb */ color: rgb(94, 24, 160); /* oklch */ color: oklch(40.7% 0.196 300.6);
Tailwind
colors: {
custom: {
50: '#9360bd',
500: '#5e18a0',
950: '#000000',
},
}SCSS
$custom: #5e18a0; $custom-light: #9360bd; $custom-dark: #000000;
JSON
{
"hex": "#5e18a0",
"rgb": {
"r": 94,
"g": 24,
"b": 160
},
"hsl": {
"h": 270.882,
"s": 73.913,
"l": 36.078
},
"oklch": {
"l": 0.4073,
"c": 0.19586,
"h": 300.6
},
"luminance": 0.05571
}Semantic roles & 50–950 ramp
primary
#5E18A0
secondary
#88C64D
accent
#F13791
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81