#3E29A3#3E29A3
#3E29A3 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.184 H 281.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3E29A3 |
|---|---|
| RGB | rgb(62, 41, 163) |
| HSL | hsl(250, 60%, 40%) |
| HSV | hsv(250, 75%, 64%) |
| CMYK | cmyk(62%, 74.8%, 0%, 36.1%) |
| CIE-LAB | lab(27.45, 43.86, -62.31) |
| CIE-LCH | lch(27.45, 76.20, 305.14°) |
| OKLab | oklab(39.38% 0.0374 -0.1797) |
| OKLCH | oklch(39.38% 0.184 281.8) |
| XYZ | xyz(9.3883, 5.2537, 35.1626) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.48
Sapphire (survey)
#2138AB
ΔE00 5.67
Royal
#0C1793
ΔE00 6.11
Ultramarine
#2000B1
ΔE00 6.28
Violet Blue
#510AC9
ΔE00 6.37
Cobalt Blue
#030AA7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E29A3 #8EA329
analogous
#2951A3 #3E29A3 #7B29A3
triadic
#3E29A3 #A33E29 #29A33E
tetradic
#3E29A3 #A32951 #8EA329 #29A37B
square
#3E29A3 #A32951 #8EA329 #29A37B
split-complementary
#3E29A3 #A37B29 #51A329
monochromatic
#191041 #2B1D72 #3E29A3 #553BCE #7F6CDA
Accessibility & contrast
On white
10.24
#3E29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3E29A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E29A3
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E29A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E29A3 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3e29a3; /* rgb */ color: rgb(62, 41, 163); /* oklch */ color: oklch(39.4% 0.184 281.8);
Tailwind
colors: {
custom: {
50: '#8065bf',
500: '#3e29a3',
950: '#000000',
},
}SCSS
$custom: #3e29a3; $custom-light: #8065bf; $custom-dark: #000000;
JSON
{
"hex": "#3e29a3",
"rgb": {
"r": 62,
"g": 41,
"b": 163
},
"hsl": {
"h": 250.328,
"s": 59.804,
"l": 40
},
"oklch": {
"l": 0.3938,
"c": 0.18354,
"h": 281.8
},
"luminance": 0.05254
}Semantic roles & 50–950 ramp
primary
#3E29A3
secondary
#B1C167
accent
#E345C8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81