#3E2B82#3E2B82
#3E2B82 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.6% C 0.139 H 287.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2B82 |
|---|---|
| RGB | rgb(62, 43, 130) |
| HSL | hsl(253, 50%, 34%) |
| HSV | hsv(253, 67%, 51%) |
| CMYK | cmyk(52.3%, 66.9%, 0%, 49%) |
| CIE-LAB | lab(24.84, 32.34, -46.22) |
| CIE-LCH | lch(24.84, 56.41, 304.98°) |
| OKLab | oklab(36.59% 0.0418 -0.1325) |
| OKLCH | oklch(36.59% 0.139 287.5) |
| XYZ | xyz(6.8786, 4.3633, 21.5945) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.16
Midnight Blue
#191970
ΔE00 6.53
Blueberry
#464196
ΔE00 6.65
Royal
#0C1793
ΔE00 7.23
Indigo (survey)
#380282
ΔE00 7.49
Indigo
#4B0082
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2B82 #6F822B
analogous
#2B4482 #3E2B82 #6A2B82
triadic
#3E2B82 #823E2B #2B823E
tetradic
#3E2B82 #822B44 #6F822B #2B826A
square
#3E2B82 #822B44 #6F822B #2B826A
split-complementary
#3E2B82 #826A2B #44822B
monochromatic
#120D26 #281C54 #3E2B82 #543AB0 #755ECA
Accessibility & contrast
On white
11.21
#3E2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E2B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2B82
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2B82 | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#254052
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2b82; /* rgb */ color: rgb(62, 43, 130); /* oklch */ color: oklch(36.6% 0.139 287.5);
Tailwind
colors: {
custom: {
50: '#7a65a7',
500: '#3e2b82',
950: '#000000',
},
}SCSS
$custom: #3e2b82; $custom-light: #7a65a7; $custom-dark: #000000;
JSON
{
"hex": "#3e2b82",
"rgb": {
"r": 62,
"g": 43,
"b": 130
},
"hsl": {
"h": 253.103,
"s": 50.289,
"l": 33.922
},
"oklch": {
"l": 0.36588,
"c": 0.13897,
"h": 287.5
},
"luminance": 0.04364
}Semantic roles & 50–950 ramp
primary
#3E2B82
secondary
#9DB059
accent
#DA4EBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F