#3E2386#3E2386
#3E2386 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.154 H 288.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2386 |
|---|---|
| RGB | rgb(62, 35, 134) |
| HSL | hsl(256, 59%, 33%) |
| HSV | hsv(256, 74%, 53%) |
| CMYK | cmyk(53.7%, 73.9%, 0%, 47.5%) |
| CIE-LAB | lab(23.50, 38.23, -50.93) |
| CIE-LCH | lch(23.50, 63.68, 306.90°) |
| OKLab | oklab(35.74% 0.049 -0.1463) |
| OKLCH | oklch(35.74% 0.154 288.5) |
| XYZ | xyz(6.8895, 3.9471, 22.9485) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.32
Indigo
#4B0082
ΔE00 5.71
Royal
#0C1793
ΔE00 5.81
Midnight Blue
#191970
ΔE00 6.06
Indigo Blue
#3A18B1
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2386 #6B8623
analogous
#233986 #3E2386 #6F2386
triadic
#3E2386 #863E23 #23863E
tetradic
#3E2386 #862339 #6B8623 #23866F
square
#3E2386 #862339 #6B8623 #23866F
split-complementary
#3E2386 #866F23 #398623
monochromatic
#110A25 #281655 #3E2386 #5430B7 #7552D2
Accessibility & contrast
On white
11.74
#3E2386 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#3E2386 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2386
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2386 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2386 | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#233D52
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e2386; /* rgb */ color: rgb(62, 35, 134); /* oklch */ color: oklch(35.7% 0.154 288.5);
Tailwind
colors: {
custom: {
50: '#7b61aa',
500: '#3e2386',
950: '#000000',
},
}SCSS
$custom: #3e2386; $custom-light: #7b61aa; $custom-dark: #000000;
JSON
{
"hex": "#3e2386",
"rgb": {
"r": 62,
"g": 35,
"b": 134
},
"hsl": {
"h": 256.364,
"s": 58.58,
"l": 33.137
},
"oklch": {
"l": 0.35736,
"c": 0.15432,
"h": 288.5
},
"luminance": 0.03947
}Semantic roles & 50–950 ramp
primary
#3E2386
secondary
#9AB54F
accent
#E246B7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F