#3E2A9A#3E2A9A
#3E2A9A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.171 H 283.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2A9A |
|---|---|
| RGB | rgb(62, 42, 154) |
| HSL | hsl(251, 57%, 38%) |
| HSV | hsv(251, 73%, 60%) |
| CMYK | cmyk(59.7%, 72.7%, 0%, 39.6%) |
| CIE-LAB | lab(26.77, 40.51, -57.94) |
| CIE-LCH | lch(26.77, 70.70, 304.96°) |
| OKLab | oklab(38.64% 0.0387 -0.1669) |
| OKLCH | oklch(38.64% 0.171 283) |
| XYZ | xyz(8.6455, 5.0126, 31.0775) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.51
Sapphire (survey)
#2138AB
ΔE00 5.92
Royal
#0C1793
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 6.33
Blueberry
#464196
ΔE00 6.58
Cobalt Blue
#030AA7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2A9A #869A2A
analogous
#2A4E9A #3E2A9A #762A9A
triadic
#3E2A9A #9A3E2A #2A9A3E
tetradic
#3E2A9A #9A2A4E #869A2A #2A9A76
square
#3E2A9A #9A2A4E #869A2A #2A9A76
split-complementary
#3E2A9A #9A762A #4E9A2A
monochromatic
#17103A #2B1D6A #3E2A9A #5238C9 #7C68D6
Accessibility & contrast
On white
10.49
#3E2A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3E2A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2A9A
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2A9A | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#03485F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3e2a9a; /* rgb */ color: rgb(62, 42, 154); /* oklch */ color: oklch(38.6% 0.171 283.0);
Tailwind
colors: {
custom: {
50: '#7e66b9',
500: '#3e2a9a',
950: '#000000',
},
}SCSS
$custom: #3e2a9a; $custom-light: #7e66b9; $custom-dark: #000000;
JSON
{
"hex": "#3e2a9a",
"rgb": {
"r": 62,
"g": 42,
"b": 154
},
"hsl": {
"h": 250.714,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.38637,
"c": 0.17133,
"h": 283
},
"luminance": 0.05013
}Semantic roles & 50–950 ramp
primary
#3E2A9A
secondary
#ACBC63
accent
#E047C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81