#3E1BA0#3E1BA0
#3E1BA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.193 H 284.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1BA0 |
|---|---|
| RGB | rgb(62, 27, 160) |
| HSL | hsl(256, 71%, 37%) |
| HSV | hsv(256, 83%, 63%) |
| CMYK | cmyk(61.2%, 83.1%, 0%, 37.3%) |
| CIE-LAB | lab(24.78, 49.74, -64.88) |
| CIE-LCH | lch(24.78, 81.75, 307.48°) |
| OKLab | oklab(37.43% 0.047 -0.187) |
| OKLCH | oklch(37.43% 0.193 284.1) |
| XYZ | xyz(8.7218, 4.3455, 33.6301) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.30
Ultramarine
#2000B1
ΔE00 4.28
Cobalt Blue
#030AA7
ΔE00 4.70
Royal Blue (survey)
#0504AA
ΔE00 4.87
Royal
#0C1793
ΔE00 4.98
Indigo (survey)
#380282
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1BA0 #7DA01B
analogous
#1B3BA0 #3E1BA0 #811BA0
triadic
#3E1BA0 #A03E1B #1BA03E
tetradic
#3E1BA0 #A01B3B #7DA01B #1BA081
square
#3E1BA0 #A01B3B #7DA01B #1BA081
split-complementary
#3E1BA0 #A0811B #3BA01B
monochromatic
#150937 #2A126C #3E1BA0 #5224D4 #7953E2
Accessibility & contrast
On white
11.23
#3E1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E1BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1BA0
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1BA0 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e1ba0; /* rgb */ color: rgb(62, 27, 160); /* oklch */ color: oklch(37.4% 0.193 284.1);
Tailwind
colors: {
custom: {
50: '#815ebd',
500: '#3e1ba0',
950: '#000000',
},
}SCSS
$custom: #3e1ba0; $custom-light: #815ebd; $custom-dark: #000000;
JSON
{
"hex": "#3e1ba0",
"rgb": {
"r": 62,
"g": 27,
"b": 160
},
"hsl": {
"h": 255.789,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.37428,
"c": 0.19285,
"h": 284.1
},
"luminance": 0.04346
}Semantic roles & 50–950 ramp
primary
#3E1BA0
secondary
#A7C552
accent
#EE3ABF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981