#3E29A5#3E29A5
#3E29A5 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.186 H 281.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3E29A5 |
|---|---|
| RGB | rgb(62, 41, 165) |
| HSL | hsl(250, 60%, 40%) |
| HSV | hsv(250, 75%, 65%) |
| CMYK | cmyk(62.4%, 75.2%, 0%, 35.3%) |
| CIE-LAB | lab(27.64, 44.48, -63.19) |
| CIE-LCH | lch(27.64, 77.28, 305.14°) |
| OKLab | oklab(39.58% 0.0369 -0.1823) |
| OKLCH | oklch(39.58% 0.186 281.5) |
| XYZ | xyz(9.5689, 5.3259, 36.1138) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 5.61
Violet Blue
#510AC9
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.21
Royal
#0C1793
ΔE00 6.22
True Blue
#010FCC
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E29A5 #90A529
analogous
#2952A5 #3E29A5 #7C29A5
triadic
#3E29A5 #A53E29 #29A53E
tetradic
#3E29A5 #A52952 #90A529 #29A57C
square
#3E29A5 #A52952 #90A529 #29A57C
split-complementary
#3E29A5 #A57C29 #52A529
monochromatic
#191143 #2C1D74 #3E29A5 #553DCF #806EDB
Accessibility & contrast
On white
10.17
#3E29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#3E29A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E29A5
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E29A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E29A5 | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3e29a5; /* rgb */ color: rgb(62, 41, 165); /* oklch */ color: oklch(39.6% 0.186 281.5);
Tailwind
colors: {
custom: {
50: '#8066c1',
500: '#3e29a5',
950: '#000000',
},
}SCSS
$custom: #3e29a5; $custom-light: #8066c1; $custom-dark: #000000;
JSON
{
"hex": "#3e29a5",
"rgb": {
"r": 62,
"g": 41,
"b": 165
},
"hsl": {
"h": 250.161,
"s": 60.194,
"l": 40.392
},
"oklch": {
"l": 0.39579,
"c": 0.18598,
"h": 281.5
},
"luminance": 0.05327
}Semantic roles & 50–950 ramp
primary
#3E29A5
secondary
#B2C268
accent
#E344C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81