#3E2A95#3E2A95
#3E2A95 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.165 H 283.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2A95 |
|---|---|
| RGB | rgb(62, 42, 149) |
| HSL | hsl(251, 56%, 37%) |
| HSV | hsv(251, 72%, 58%) |
| CMYK | cmyk(58.4%, 71.8%, 0%, 41.6%) |
| CIE-LAB | lab(26.30, 38.94, -55.64) |
| CIE-LCH | lch(26.30, 67.91, 304.98°) |
| OKLab | oklab(38.16% 0.0397 -0.1602) |
| OKLCH | oklch(38.16% 0.165 283.9) |
| XYZ | xyz(8.2377, 4.8495, 28.9299) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.10
Royal
#0C1793
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.00
Sapphire (survey)
#2138AB
ΔE00 6.28
Blueberry
#464196
ΔE00 6.49
Cobalt Blue
#030AA7
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2A95 #81952A
analogous
#2A4B95 #3E2A95 #742A95
triadic
#3E2A95 #953E2A #2A953E
tetradic
#3E2A95 #952A4B #81952A #2A9574
square
#3E2A95 #952A4B #81952A #2A9574
split-complementary
#3E2A95 #95742A #4B952A
monochromatic
#160F36 #2A1D65 #3E2A95 #5237C5 #7A66D4
Accessibility & contrast
On white
10.66
#3E2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3E2A95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2A95
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2A95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2A95 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#0F475C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3e2a95; /* rgb */ color: rgb(62, 42, 149); /* oklch */ color: oklch(38.2% 0.165 283.9);
Tailwind
colors: {
custom: {
50: '#7d65b5',
500: '#3e2a95',
950: '#000000',
},
}SCSS
$custom: #3e2a95; $custom-light: #7d65b5; $custom-dark: #000000;
JSON
{
"hex": "#3e2a95",
"rgb": {
"r": 62,
"g": 42,
"b": 149
},
"hsl": {
"h": 251.215,
"s": 56.021,
"l": 37.451
},
"oklch": {
"l": 0.3816,
"c": 0.16502,
"h": 283.9
},
"luminance": 0.0485
}Semantic roles & 50–950 ramp
primary
#3E2A95
secondary
#A9BA61
accent
#DF48C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80