#3E1E8D#3E1E8D
#3E1E8D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.168 H 287.8°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E8D |
|---|---|
| RGB | rgb(62, 30, 141) |
| HSL | hsl(257, 65%, 34%) |
| HSV | hsv(257, 79%, 55%) |
| CMYK | cmyk(56%, 78.7%, 0%, 44.7%) |
| CIE-LAB | lab(23.26, 42.92, -55.69) |
| CIE-LCH | lch(23.26, 70.31, 307.62°) |
| OKLab | oklab(35.77% 0.0513 -0.1602) |
| OKLCH | oklch(35.77% 0.168 287.8) |
| XYZ | xyz(7.2572, 3.8754, 25.5598) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.41
Indigo
#4B0082
ΔE00 4.97
Royal
#0C1793
ΔE00 5.01
Indigo Blue
#3A18B1
ΔE00 5.12
Cobalt Blue
#030AA7
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E8D #6D8D1E
analogous
#1E368D #3E1E8D #751E8D
triadic
#3E1E8D #8D3E1E #1E8D3E
tetradic
#3E1E8D #8D1E36 #6D8D1E #1E8D75
square
#3E1E8D #8D1E36 #6D8D1E #1E8D75
split-complementary
#3E1E8D #8D751E #368D1E
monochromatic
#120928 #28135B #3E1E8D #5429BF #754CD9
Accessibility & contrast
On white
11.83
#3E1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3E1E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E8D
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E8D | 1.00 | 11.83 | 1.78 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#1C3E55
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3e1e8d; /* rgb */ color: rgb(62, 30, 141); /* oklch */ color: oklch(35.8% 0.168 287.8);
Tailwind
colors: {
custom: {
50: '#7d5eaf',
500: '#3e1e8d',
950: '#000000',
},
}SCSS
$custom: #3e1e8d; $custom-light: #7d5eaf; $custom-dark: #000000;
JSON
{
"hex": "#3e1e8d",
"rgb": {
"r": 62,
"g": 30,
"b": 141
},
"hsl": {
"h": 257.297,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.35773,
"c": 0.16827,
"h": 287.8
},
"luminance": 0.03876
}Semantic roles & 50–950 ramp
primary
#3E1E8D
secondary
#9BBC4B
accent
#E840B7
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0511
muted
#7C7980