#3E2A92#3E2A92
#3E2A92 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.161 H 284.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2A92 |
|---|---|
| RGB | rgb(62, 42, 146) |
| HSL | hsl(252, 55%, 37%) |
| HSV | hsv(252, 71%, 57%) |
| CMYK | cmyk(57.5%, 71.2%, 0%, 42.7%) |
| CIE-LAB | lab(26.02, 37.99, -54.25) |
| CIE-LCH | lch(26.02, 66.23, 305.01°) |
| OKLab | oklab(37.88% 0.0403 -0.1561) |
| OKLCH | oklch(37.88% 0.161 284.5) |
| XYZ | xyz(8.0013, 4.7549, 27.6847) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.48
Darkslateblue
#483D8B
ΔE00 5.83
Royal
#0C1793
ΔE00 6.00
Blueberry
#464196
ΔE00 6.47
Sapphire (survey)
#2138AB
ΔE00 6.53
Indigo (survey)
#380282
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2A92 #7E922A
analogous
#2A4A92 #3E2A92 #722A92
triadic
#3E2A92 #923E2A #2A923E
tetradic
#3E2A92 #922A4A #7E922A #2A9272
square
#3E2A92 #922A4A #7E922A #2A9272
split-complementary
#3E2A92 #92722A #4A922A
monochromatic
#160F33 #2A1C62 #3E2A92 #5238C2 #7964D2
Accessibility & contrast
On white
10.76
#3E2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#3E2A92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2A92
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2A92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2A92 | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#15455B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3e2a92; /* rgb */ color: rgb(62, 42, 146); /* oklch */ color: oklch(37.9% 0.161 284.5);
Tailwind
colors: {
custom: {
50: '#7d65b3',
500: '#3e2a92',
950: '#000000',
},
}SCSS
$custom: #3e2a92; $custom-light: #7d65b3; $custom-dark: #000000;
JSON
{
"hex": "#3e2a92",
"rgb": {
"r": 62,
"g": 42,
"b": 146
},
"hsl": {
"h": 251.538,
"s": 55.319,
"l": 36.863
},
"oklch": {
"l": 0.37877,
"c": 0.1612,
"h": 284.5
},
"luminance": 0.04755
}Semantic roles & 50–950 ramp
primary
#3E2A92
secondary
#A7B85F
accent
#DF49C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80