#3E1BA1#3E1BA1
#3E1BA1 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.194 H 283.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1BA1 |
|---|---|
| RGB | rgb(62, 27, 161) |
| HSL | hsl(256, 71%, 37%) |
| HSV | hsv(256, 83%, 63%) |
| CMYK | cmyk(61.5%, 83.2%, 0%, 36.9%) |
| CIE-LAB | lab(24.89, 50.02, -65.31) |
| CIE-LCH | lch(24.89, 82.26, 307.45°) |
| OKLab | oklab(37.54% 0.0467 -0.1883) |
| OKLCH | oklch(37.54% 0.194 283.9) |
| XYZ | xyz(8.8096, 4.3806, 34.0926) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.17
Ultramarine
#2000B1
ΔE00 4.22
Cobalt Blue
#030AA7
ΔE00 4.68
Royal Blue (survey)
#0504AA
ΔE00 4.85
Royal
#0C1793
ΔE00 5.03
Indigo (survey)
#380282
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1BA1 #7EA11B
analogous
#1B3BA1 #3E1BA1 #811BA1
triadic
#3E1BA1 #A13E1B #1BA13E
tetradic
#3E1BA1 #A11B3B #7EA11B #1BA181
square
#3E1BA1 #A11B3B #7EA11B #1BA181
split-complementary
#3E1BA1 #A1811B #3BA11B
monochromatic
#160938 #2A126D #3E1BA1 #5224D5 #7954E2
Accessibility & contrast
On white
11.19
#3E1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3E1BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1BA1
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1BA1 | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e1ba1; /* rgb */ color: rgb(62, 27, 161); /* oklch */ color: oklch(37.5% 0.194 283.9);
Tailwind
colors: {
custom: {
50: '#815ebe',
500: '#3e1ba1',
950: '#000000',
},
}SCSS
$custom: #3e1ba1; $custom-light: #815ebe; $custom-dark: #000000;
JSON
{
"hex": "#3e1ba1",
"rgb": {
"r": 62,
"g": 27,
"b": 161
},
"hsl": {
"h": 255.672,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.37536,
"c": 0.19398,
"h": 283.9
},
"luminance": 0.04381
}Semantic roles & 50–950 ramp
primary
#3E1BA1
secondary
#A7C552
accent
#EE3ABF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981