#3E2B8A#3E2B8A
#3E2B8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.150 H 285.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2B8A |
|---|---|
| RGB | rgb(62, 43, 138) |
| HSL | hsl(252, 52%, 35%) |
| HSV | hsv(252, 69%, 54%) |
| CMYK | cmyk(55.1%, 68.8%, 0%, 45.9%) |
| CIE-LAB | lab(25.52, 34.88, -50.11) |
| CIE-LCH | lch(25.52, 61.05, 304.84°) |
| OKLab | oklab(37.3% 0.0407 -0.144) |
| OKLCH | oklch(37.3% 0.15 285.8) |
| XYZ | xyz(7.4366, 4.5865, 24.5333) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.24
Blueberry
#464196
ΔE00 6.31
Royal
#0C1793
ΔE00 6.54
Indigo Blue
#3A18B1
ΔE00 6.76
Midnight Blue
#191970
ΔE00 6.91
Sapphire (survey)
#2138AB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2B8A #778A2B
analogous
#2B478A #3E2B8A #6D2B8A
triadic
#3E2B8A #8A3E2B #2B8A3E
tetradic
#3E2B8A #8A2B47 #778A2B #2B8A6D
square
#3E2B8A #8A2B47 #778A2B #2B8A6D
split-complementary
#3E2B8A #8A6D2B #478A2B
monochromatic
#140E2D #291C5B #3E2B8A #533AB9 #7761CE
Accessibility & contrast
On white
10.95
#3E2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3E2B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2B8A
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2B8A | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#1E4356
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e2b8a; /* rgb */ color: rgb(62, 43, 138); /* oklch */ color: oklch(37.3% 0.150 285.8);
Tailwind
colors: {
custom: {
50: '#7b66ad',
500: '#3e2b8a',
950: '#000000',
},
}SCSS
$custom: #3e2b8a; $custom-light: #7b66ad; $custom-dark: #000000;
JSON
{
"hex": "#3e2b8a",
"rgb": {
"r": 62,
"g": 43,
"b": 138
},
"hsl": {
"h": 252,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.37296,
"c": 0.1496,
"h": 285.8
},
"luminance": 0.04587
}Semantic roles & 50–950 ramp
primary
#3E2B8A
secondary
#A3B45D
accent
#DC4CBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F