#3E1E88#3E1E88
#3E1E88 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.162 H 289.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1E88 |
|---|---|
| RGB | rgb(62, 30, 136) |
| HSL | hsl(258, 64%, 33%) |
| HSV | hsv(258, 78%, 53%) |
| CMYK | cmyk(54.4%, 77.9%, 0%, 46.7%) |
| CIE-LAB | lab(22.76, 41.46, -53.39) |
| CIE-LCH | lch(22.76, 67.60, 307.83°) |
| OKLab | oklab(35.27% 0.0528 -0.1535) |
| OKLCH | oklch(35.27% 0.162 289) |
| XYZ | xyz(6.8935, 3.7299, 23.6445) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.24
Indigo
#4B0082
ΔE00 4.75
Royal
#0C1793
ΔE00 5.32
Indigo Blue
#3A18B1
ΔE00 5.89
Midnight Blue
#191970
ΔE00 6.13
Cobalt Blue
#030AA7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1E88 #68881E
analogous
#1E3388 #3E1E88 #731E88
triadic
#3E1E88 #883E1E #1E883E
tetradic
#3E1E88 #881E33 #68881E #1E8873
square
#3E1E88 #881E33 #68881E #1E8873
split-complementary
#3E1E88 #88731E #33881E
monochromatic
#100824 #271356 #3E1E88 #5529BA #7449D7
Accessibility & contrast
On white
12.03
#3E1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#3E1E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1E88
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1E88 | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#213C52
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3e1e88; /* rgb */ color: rgb(62, 30, 136); /* oklch */ color: oklch(35.3% 0.162 289.0);
Tailwind
colors: {
custom: {
50: '#7c5eac',
500: '#3e1e88',
950: '#000000',
},
}SCSS
$custom: #3e1e88; $custom-light: #7c5eac; $custom-dark: #000000;
JSON
{
"hex": "#3e1e88",
"rgb": {
"r": 62,
"g": 30,
"b": 136
},
"hsl": {
"h": 258.113,
"s": 63.855,
"l": 32.549
},
"oklch": {
"l": 0.35274,
"c": 0.16233,
"h": 289
},
"luminance": 0.0373
}Semantic roles & 50–950 ramp
primary
#3E1E88
secondary
#97B949
accent
#E741B5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F