#3E2B9A#3E2B9A
#3E2B9A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.170 H 282.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2B9A |
|---|---|
| RGB | rgb(62, 43, 154) |
| HSL | hsl(250, 56%, 39%) |
| HSV | hsv(250, 72%, 60%) |
| CMYK | cmyk(59.7%, 72.1%, 0%, 39.6%) |
| CIE-LAB | lab(26.97, 39.94, -57.61) |
| CIE-LCH | lch(26.97, 70.10, 304.74°) |
| OKLab | oklab(38.78% 0.0379 -0.1659) |
| OKLCH | oklch(38.78% 0.17 282.9) |
| XYZ | xyz(8.6814, 5.0844, 31.0895) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 5.74
Royal
#0C1793
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.12
Blueberry
#464196
ΔE00 6.34
Cobalt Blue
#030AA7
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2B9A #879A2B
analogous
#2B4F9A #3E2B9A #752B9A
triadic
#3E2B9A #9A3E2B #2B9A3E
tetradic
#3E2B9A #9A2B4F #879A2B #2B9A75
square
#3E2B9A #9A2B4F #879A2B #2B9A75
split-complementary
#3E2B9A #9A752B #4F9A2B
monochromatic
#17103A #2B1E6A #3E2B9A #523AC8 #7C6AD5
Accessibility & contrast
On white
10.41
#3E2B9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3E2B9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2B9A
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2B9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2B9A | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#03495F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3e2b9a; /* rgb */ color: rgb(62, 43, 154); /* oklch */ color: oklch(38.8% 0.170 282.9);
Tailwind
colors: {
custom: {
50: '#7e66b9',
500: '#3e2b9a',
950: '#000000',
},
}SCSS
$custom: #3e2b9a; $custom-light: #7e66b9; $custom-dark: #000000;
JSON
{
"hex": "#3e2b9a",
"rgb": {
"r": 62,
"g": 43,
"b": 154
},
"hsl": {
"h": 250.27,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.38782,
"c": 0.17021,
"h": 282.9
},
"luminance": 0.05085
}Semantic roles & 50–950 ramp
primary
#3E2B9A
secondary
#ADBC65
accent
#E048C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81