#3E2A84#3E2A84
#3E2A84 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.143 H 287.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2A84 |
|---|---|
| RGB | rgb(62, 42, 132) |
| HSL | hsl(253, 52%, 34%) |
| HSV | hsv(253, 68%, 52%) |
| CMYK | cmyk(53%, 68.2%, 0%, 48.2%) |
| CIE-LAB | lab(24.78, 33.58, -47.57) |
| CIE-LCH | lch(24.78, 58.23, 305.22°) |
| OKLab | oklab(36.6% 0.0426 -0.1365) |
| OKLCH | oklch(36.6% 0.143 287.3) |
| XYZ | xyz(6.9782, 4.3457, 22.2964) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.40
Midnight Blue
#191970
ΔE00 6.47
Blueberry
#464196
ΔE00 6.79
Royal
#0C1793
ΔE00 6.86
Indigo (survey)
#380282
ΔE00 7.14
Indigo
#4B0082
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2A84 #70842A
analogous
#2A4384 #3E2A84 #6B2A84
triadic
#3E2A84 #843E2A #2A843E
tetradic
#3E2A84 #842A43 #70842A #2A846B
square
#3E2A84 #842A43 #70842A #2A846B
split-complementary
#3E2A84 #846B2A #43842A
monochromatic
#120C27 #281B56 #3E2A84 #5439B2 #765DCB
Accessibility & contrast
On white
11.23
#3E2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E2A84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2A84
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2A84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2A84 | 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)
#003D87
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#244053
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2a84; /* rgb */ color: rgb(62, 42, 132); /* oklch */ color: oklch(36.6% 0.143 287.3);
Tailwind
colors: {
custom: {
50: '#7a65a9',
500: '#3e2a84',
950: '#000000',
},
}SCSS
$custom: #3e2a84; $custom-light: #7a65a9; $custom-dark: #000000;
JSON
{
"hex": "#3e2a84",
"rgb": {
"r": 62,
"g": 42,
"b": 132
},
"hsl": {
"h": 253.333,
"s": 51.724,
"l": 34.118
},
"oklch": {
"l": 0.36601,
"c": 0.14297,
"h": 287.3
},
"luminance": 0.04346
}Semantic roles & 50–950 ramp
primary
#3E2A84
secondary
#9DB159
accent
#DB4DBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F