#3E15A0#3E15A0
#3E15A0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.9% C 0.197 H 284.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3E15A0 |
|---|---|
| RGB | rgb(62, 21, 160) |
| HSL | hsl(258, 77%, 35%) |
| HSV | hsv(258, 87%, 63%) |
| CMYK | cmyk(61.2%, 86.9%, 0%, 37.3%) |
| CIE-LAB | lab(23.99, 52.07, -66.18) |
| CIE-LCH | lch(23.99, 84.21, 308.19°) |
| OKLab | oklab(36.89% 0.0499 -0.1907) |
| OKLCH | oklch(36.89% 0.197 284.7) |
| XYZ | xyz(8.5980, 4.0980, 33.5888) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.41
Ultramarine
#2000B1
ΔE00 3.76
Cobalt Blue
#030AA7
ΔE00 4.33
Royal Blue (survey)
#0504AA
ΔE00 4.42
Royal
#0C1793
ΔE00 4.95
Indigo (survey)
#380282
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E15A0 #77A015
analogous
#1531A0 #3E15A0 #8315A0
triadic
#3E15A0 #A03E15 #15A03E
tetradic
#3E15A0 #A01531 #77A015 #15A083
square
#3E15A0 #A01531 #77A015 #15A083
split-complementary
#3E15A0 #A08315 #31A015
monochromatic
#140734 #290E6A #3E15A0 #531CD6 #7748E7
Accessibility & contrast
On white
11.54
#3E15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3E15A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E15A0
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E15A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E15A0 | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#00425E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e15a0; /* rgb */ color: rgb(62, 21, 160); /* oklch */ color: oklch(36.9% 0.197 284.7);
Tailwind
colors: {
custom: {
50: '#815bbd',
500: '#3e15a0',
950: '#000000',
},
}SCSS
$custom: #3e15a0; $custom-light: #815bbd; $custom-dark: #000000;
JSON
{
"hex": "#3e15a0",
"rgb": {
"r": 62,
"g": 21,
"b": 160
},
"hsl": {
"h": 257.698,
"s": 76.796,
"l": 35.49
},
"oklch": {
"l": 0.36888,
"c": 0.19718,
"h": 284.7
},
"luminance": 0.04099
}Semantic roles & 50–950 ramp
primary
#3E15A0
secondary
#A3C849
accent
#F334BB
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981