#3E1EA1#3E1EA1
#3E1EA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.192 H 283.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1EA1 |
|---|---|
| RGB | rgb(62, 30, 161) |
| HSL | hsl(255, 69%, 37%) |
| HSV | hsv(255, 81%, 63%) |
| CMYK | cmyk(61.5%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(25.34, 48.72, -64.57) |
| CIE-LCH | lch(25.34, 80.89, 307.03°) |
| OKLab | oklab(37.84% 0.045 -0.1862) |
| OKLCH | oklch(37.84% 0.192 283.6) |
| XYZ | xyz(8.8819, 4.5253, 34.1167) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.27
Ultramarine
#2000B1
ΔE00 4.57
Cobalt Blue
#030AA7
ΔE00 4.95
Royal
#0C1793
ΔE00 5.12
Royal Blue (survey)
#0504AA
ΔE00 5.16
Violet Blue
#510AC9
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1EA1 #81A11E
analogous
#1E40A1 #3E1EA1 #7F1EA1
triadic
#3E1EA1 #A13E1E #1EA13E
tetradic
#3E1EA1 #A11E40 #81A11E #1EA17F
square
#3E1EA1 #A11E40 #81A11E #1EA17F
split-complementary
#3E1EA1 #A17F1E #40A11E
monochromatic
#160B3A #2A146D #3E1EA1 #5228D5 #7A59E0
Accessibility & contrast
On white
11.02
#3E1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3E1EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1EA1
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1EA1 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e1ea1; /* rgb */ color: rgb(62, 30, 161); /* oklch */ color: oklch(37.8% 0.192 283.6);
Tailwind
colors: {
custom: {
50: '#805fbe',
500: '#3e1ea1',
950: '#000000',
},
}SCSS
$custom: #3e1ea1; $custom-light: #805fbe; $custom-dark: #000000;
JSON
{
"hex": "#3e1ea1",
"rgb": {
"r": 62,
"g": 30,
"b": 161
},
"hsl": {
"h": 254.656,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.37844,
"c": 0.19153,
"h": 283.6
},
"luminance": 0.04526
}Semantic roles & 50–950 ramp
primary
#3E1EA1
secondary
#A9C457
accent
#EB3CC1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981