#3E1E8E#3E1E8E
#3E1E8E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.169 H 287.5°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E8E |
|---|---|
| RGB | rgb(62, 30, 142) |
| HSL | hsl(257, 65%, 34%) |
| HSV | hsv(257, 79%, 56%) |
| CMYK | cmyk(56.3%, 78.9%, 0%, 44.3%) |
| CIE-LAB | lab(23.36, 43.21, -56.15) |
| CIE-LCH | lch(23.36, 70.85, 307.58°) |
| OKLab | oklab(35.87% 0.051 -0.1616) |
| OKLCH | oklch(35.87% 0.169 287.5) |
| XYZ | xyz(7.3319, 3.9053, 25.9534) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.46
Indigo Blue
#3A18B1
ΔE00 4.96
Royal
#0C1793
ΔE00 4.97
Indigo
#4B0082
ΔE00 5.03
Cobalt Blue
#030AA7
ΔE00 6.06
Ultramarine
#2000B1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E8E #6E8E1E
analogous
#1E368E #3E1E8E #761E8E
triadic
#3E1E8E #8E3E1E #1E8E3E
tetradic
#3E1E8E #8E1E36 #6E8E1E #1E8E76
square
#3E1E8E #8E1E36 #6E8E1E #1E8E76
split-complementary
#3E1E8E #8E761E #368E1E
monochromatic
#120929 #28135B #3E1E8E #5429C1 #754DD9
Accessibility & contrast
On white
11.79
#3E1E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3E1E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E8E
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E8E | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#1B3E55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e1e8e; /* rgb */ color: rgb(62, 30, 142); /* oklch */ color: oklch(35.9% 0.169 287.5);
Tailwind
colors: {
custom: {
50: '#7d5eb0',
500: '#3e1e8e',
950: '#000000',
},
}SCSS
$custom: #3e1e8e; $custom-light: #7d5eb0; $custom-dark: #000000;
JSON
{
"hex": "#3e1e8e",
"rgb": {
"r": 62,
"g": 30,
"b": 142
},
"hsl": {
"h": 257.143,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.35873,
"c": 0.16945,
"h": 287.5
},
"luminance": 0.03906
}Semantic roles & 50–950 ramp
primary
#3E1E8E
secondary
#9CBC4C
accent
#E840B8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980