#3E1AA1#3E1AA1
#3E1AA1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.195 H 284.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1AA1 |
|---|---|
| RGB | rgb(62, 26, 161) |
| HSL | hsl(256, 72%, 37%) |
| HSV | hsv(256, 84%, 63%) |
| CMYK | cmyk(61.5%, 83.9%, 0%, 36.9%) |
| CIE-LAB | lab(24.75, 50.43, -65.54) |
| CIE-LCH | lch(24.75, 82.70, 307.58°) |
| OKLab | oklab(37.44% 0.0472 -0.1889) |
| OKLCH | oklch(37.44% 0.195 284) |
| XYZ | xyz(8.7870, 4.3355, 34.0851) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.16
Ultramarine
#2000B1
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 4.60
Royal Blue (survey)
#0504AA
ΔE00 4.75
Royal
#0C1793
ΔE00 5.01
Indigo (survey)
#380282
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1AA1 #7DA11A
analogous
#1A3AA1 #3E1AA1 #821AA1
triadic
#3E1AA1 #A13E1A #1AA13E
tetradic
#3E1AA1 #A11A3A #7DA11A #1AA182
square
#3E1AA1 #A11A3A #7DA11A #1AA182
split-complementary
#3E1AA1 #A1821A #3AA11A
monochromatic
#150938 #2A116C #3E1AA1 #5223D6 #7952E3
Accessibility & contrast
On white
11.25
#3E1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E1AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1AA1
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1AA1 | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e1aa1; /* rgb */ color: rgb(62, 26, 161); /* oklch */ color: oklch(37.4% 0.195 284.0);
Tailwind
colors: {
custom: {
50: '#815dbe',
500: '#3e1aa1',
950: '#000000',
},
}SCSS
$custom: #3e1aa1; $custom-light: #815dbe; $custom-dark: #000000;
JSON
{
"hex": "#3e1aa1",
"rgb": {
"r": 62,
"g": 26,
"b": 161
},
"hsl": {
"h": 256,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.3744,
"c": 0.19474,
"h": 284
},
"luminance": 0.04336
}Semantic roles & 50–950 ramp
primary
#3E1AA1
secondary
#A7C651
accent
#EF39BE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981