#3E1A75#3E1A75
#3E1A75 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.144 H 295.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1A75 |
|---|---|
| RGB | rgb(62, 26, 117) |
| HSL | hsl(264, 64%, 28%) |
| HSV | hsv(264, 78%, 46%) |
| CMYK | cmyk(47%, 77.8%, 0%, 54.1%) |
| CIE-LAB | lab(20.23, 37.99, -45.48) |
| CIE-LCH | lch(20.23, 59.26, 309.88°) |
| OKLab | oklab(32.94% 0.0616 -0.1303) |
| OKLCH | oklch(32.94% 0.144 295.3) |
| XYZ | xyz(5.5660, 3.0471, 17.1211) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.38
Indigo
#4B0082
ΔE00 4.41
Royal Purple (survey)
#4B006E
ΔE00 4.79
Midnight Blue
#191970
ΔE00 5.72
Dark Indigo
#1F0954
ΔE00 7.12
Royal
#0C1793
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1A75 #51751A
analogous
#1A2475 #3E1A75 #6B1A75
triadic
#3E1A75 #753E1A #1A753E
tetradic
#3E1A75 #751A24 #51751A #1A756B
square
#3E1A75 #751A24 #51751A #1A756B
split-complementary
#3E1A75 #756B1A #24751A
monochromatic
#0D0619 #230F43 #3E1A75 #5925A7 #7437D3
Accessibility & contrast
On white
13.05
#3E1A75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3E1A75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1A75
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1A75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1A75 | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#2F3246
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e1a75; /* rgb */ color: rgb(62, 26, 117); /* oklch */ color: oklch(32.9% 0.144 295.3);
Tailwind
colors: {
custom: {
50: '#795b9e',
500: '#3e1a75',
950: '#000000',
},
}SCSS
$custom: #3e1a75; $custom-light: #795b9e; $custom-dark: #000000;
JSON
{
"hex": "#3e1a75",
"rgb": {
"r": 62,
"g": 26,
"b": 117
},
"hsl": {
"h": 263.736,
"s": 63.636,
"l": 28.039
},
"oklch": {
"l": 0.32942,
"c": 0.1441,
"h": 295.3
},
"luminance": 0.03047
}Semantic roles & 50–950 ramp
primary
#3E1A75
secondary
#80AA41
accent
#E741A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E