#3E2686#3E2686
#3E2686 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.151 H 287.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2686 |
|---|---|
| RGB | rgb(62, 38, 134) |
| HSL | hsl(255, 56%, 34%) |
| HSV | hsv(255, 72%, 53%) |
| CMYK | cmyk(53.7%, 71.6%, 0%, 47.5%) |
| CIE-LAB | lab(24.10, 36.55, -49.94) |
| CIE-LCH | lch(24.10, 61.88, 306.20°) |
| OKLab | oklab(36.17% 0.0462 -0.1434) |
| OKLCH | oklch(36.17% 0.151 287.9) |
| XYZ | xyz(6.9815, 4.1313, 22.9792) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 6.05
Royal
#0C1793
ΔE00 6.12
Midnight Blue
#191970
ΔE00 6.21
Indigo
#4B0082
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.42
Indigo Blue
#3A18B1
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2686 #6E8626
analogous
#263E86 #3E2686 #6E2686
triadic
#3E2686 #863E26 #26863E
tetradic
#3E2686 #86263E #6E8626 #26866E
square
#3E2686 #86263E #6E8626 #26866E
split-complementary
#3E2686 #866E26 #3E8626
monochromatic
#120B27 #281856 #3E2686 #5434B6 #7557CF
Accessibility & contrast
On white
11.50
#3E2686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3E2686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2686
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2686 | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#223F53
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e2686; /* rgb */ color: rgb(62, 38, 134); /* oklch */ color: oklch(36.2% 0.151 287.9);
Tailwind
colors: {
custom: {
50: '#7b62aa',
500: '#3e2686',
950: '#000000',
},
}SCSS
$custom: #3e2686; $custom-light: #7b62aa; $custom-dark: #000000;
JSON
{
"hex": "#3e2686",
"rgb": {
"r": 62,
"g": 38,
"b": 134
},
"hsl": {
"h": 255,
"s": 55.814,
"l": 33.725
},
"oklch": {
"l": 0.36166,
"c": 0.15069,
"h": 287.9
},
"luminance": 0.04132
}Semantic roles & 50–950 ramp
primary
#3E2686
secondary
#9CB454
accent
#DF49BA
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F