#3E1E91#3E1E91
#3E1E91 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.173 H 286.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E91 |
|---|---|
| RGB | rgb(62, 30, 145) |
| HSL | hsl(257, 66%, 34%) |
| HSV | hsv(257, 79%, 57%) |
| CMYK | cmyk(57.2%, 79.3%, 0%, 43.1%) |
| CIE-LAB | lab(23.66, 44.08, -57.51) |
| CIE-LCH | lch(23.66, 72.46, 307.47°) |
| OKLab | oklab(36.18% 0.0501 -0.1656) |
| OKLCH | oklch(36.18% 0.173 286.8) |
| XYZ | xyz(7.5602, 3.9966, 27.1556) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.51
Indigo (survey)
#380282
ΔE00 4.64
Royal
#0C1793
ΔE00 4.87
Indigo
#4B0082
ΔE00 5.22
Cobalt Blue
#030AA7
ΔE00 5.78
Ultramarine
#2000B1
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E91 #71911E
analogous
#1E3791 #3E1E91 #781E91
triadic
#3E1E91 #913E1E #1E913E
tetradic
#3E1E91 #911E37 #71911E #1E9178
square
#3E1E91 #911E37 #71911E #1E9178
split-complementary
#3E1E91 #91781E #37911E
monochromatic
#13092C #28145E #3E1E91 #5428C4 #764FDB
Accessibility & contrast
On white
11.67
#3E1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3E1E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E91
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E91 | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#183F57
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e1e91; /* rgb */ color: rgb(62, 30, 145); /* oklch */ color: oklch(36.2% 0.173 286.8);
Tailwind
colors: {
custom: {
50: '#7e5eb2',
500: '#3e1e91',
950: '#000000',
},
}SCSS
$custom: #3e1e91; $custom-light: #7e5eb2; $custom-dark: #000000;
JSON
{
"hex": "#3e1e91",
"rgb": {
"r": 62,
"g": 30,
"b": 145
},
"hsl": {
"h": 256.696,
"s": 65.714,
"l": 34.314
},
"oklch": {
"l": 0.36178,
"c": 0.17299,
"h": 286.8
},
"luminance": 0.03997
}Semantic roles & 50–950 ramp
primary
#3E1E91
secondary
#9EBD4D
accent
#E93FB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980