#3C1E86#3C1E86
#3C1E86 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.160 H 288.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1E86 |
|---|---|
| RGB | rgb(60, 30, 134) |
| HSL | hsl(257, 63%, 32%) |
| HSV | hsv(257, 78%, 53%) |
| CMYK | cmyk(55.2%, 77.6%, 0%, 47.5%) |
| CIE-LAB | lab(22.34, 40.57, -52.83) |
| CIE-LCH | lch(22.34, 66.61, 307.52°) |
| OKLab | oklab(34.87% 0.0502 -0.1519) |
| OKLCH | oklch(34.87% 0.16 288.3) |
| XYZ | xyz(6.6296, 3.6101, 22.8971) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.20
Indigo
#4B0082
ΔE00 4.90
Royal
#0C1793
ΔE00 5.19
Midnight Blue
#191970
ΔE00 5.72
Indigo Blue
#3A18B1
ΔE00 6.17
Cobalt Blue
#030AA7
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1E86 #68861E
analogous
#1E3486 #3C1E86 #701E86
triadic
#3C1E86 #863C1E #1E863C
tetradic
#3C1E86 #861E34 #68861E #1E8670
square
#3C1E86 #861E34 #68861E #1E8670
split-complementary
#3C1E86 #86701E #34861E
monochromatic
#0F0822 #261354 #3C1E86 #5229B8 #7148D6
Accessibility & contrast
On white
12.20
#3C1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#3C1E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1E86
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1E86 | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#1E3B51
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3c1e86; /* rgb */ color: rgb(60, 30, 134); /* oklch */ color: oklch(34.9% 0.160 288.3);
Tailwind
colors: {
custom: {
50: '#7b5daa',
500: '#3c1e86',
950: '#000000',
},
}SCSS
$custom: #3c1e86; $custom-light: #7b5daa; $custom-dark: #000000;
JSON
{
"hex": "#3c1e86",
"rgb": {
"r": 60,
"g": 30,
"b": 134
},
"hsl": {
"h": 257.308,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.34867,
"c": 0.16002,
"h": 288.3
},
"luminance": 0.0361
}Semantic roles & 50–950 ramp
primary
#3C1E86
secondary
#98B847
accent
#E641B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F