#3E1E95#3E1E95
#3E1E95 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.178 H 286.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E95 |
|---|---|
| RGB | rgb(62, 30, 149) |
| HSL | hsl(256, 66%, 35%) |
| HSV | hsv(256, 80%, 58%) |
| CMYK | cmyk(58.4%, 79.9%, 0%, 41.6%) |
| CIE-LAB | lab(24.07, 45.25, -59.31) |
| CIE-LCH | lch(24.07, 74.60, 307.34°) |
| OKLab | oklab(36.59% 0.0489 -0.1708) |
| OKLCH | oklch(36.59% 0.178 286) |
| XYZ | xyz(7.8741, 4.1221, 28.8087) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.92
Royal
#0C1793
ΔE00 4.81
Indigo (survey)
#380282
ΔE00 4.94
Cobalt Blue
#030AA7
ΔE00 5.47
Ultramarine
#2000B1
ΔE00 5.50
Indigo
#4B0082
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E95 #75951E
analogous
#1E3A95 #3E1E95 #791E95
triadic
#3E1E95 #953E1E #1E953E
tetradic
#3E1E95 #951E3A #75951E #1E9579
square
#3E1E95 #951E3A #75951E #1E9579
split-complementary
#3E1E95 #95791E #3A951E
monochromatic
#14092F #291462 #3E1E95 #5328C8 #7751DC
Accessibility & contrast
On white
11.51
#3E1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3E1E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E95
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E95 | 1.00 | 11.51 | 1.82 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#114159
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e1e95; /* rgb */ color: rgb(62, 30, 149); /* oklch */ color: oklch(36.6% 0.178 286.0);
Tailwind
colors: {
custom: {
50: '#7e5fb5',
500: '#3e1e95',
950: '#000000',
},
}SCSS
$custom: #3e1e95; $custom-light: #7e5fb5; $custom-dark: #000000;
JSON
{
"hex": "#3e1e95",
"rgb": {
"r": 62,
"g": 30,
"b": 149
},
"hsl": {
"h": 256.134,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.36587,
"c": 0.17767,
"h": 286
},
"luminance": 0.04123
}Semantic roles & 50–950 ramp
primary
#3E1E95
secondary
#A1BF50
accent
#E93EBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980