#3E167E#3E167E
#3E167E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.159 H 293.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3E167E |
|---|---|
| RGB | rgb(62, 22, 126) |
| HSL | hsl(263, 70%, 29%) |
| HSV | hsv(263, 83%, 49%) |
| CMYK | cmyk(50.8%, 82.5%, 0%, 50.6%) |
| CIE-LAB | lab(20.46, 42.37, -50.86) |
| CIE-LCH | lch(20.46, 66.20, 309.80°) |
| OKLab | oklab(33.37% 0.0622 -0.146) |
| OKLCH | oklch(33.37% 0.159 293.1) |
| XYZ | xyz(6.0384, 3.1041, 20.0156) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.89
Indigo
#4B0082
ΔE00 3.33
Royal Purple (survey)
#4B006E
ΔE00 5.01
Midnight Blue
#191970
ΔE00 5.88
Royal
#0C1793
ΔE00 6.17
Darkblue
#00008B
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E167E #567E16
analogous
#16227E #3E167E #72167E
triadic
#3E167E #7E3E16 #167E3E
tetradic
#3E167E #7E1622 #567E16 #167E72
square
#3E167E #7E1622 #567E16 #167E72
split-complementary
#3E167E #7E7216 #227E16
monochromatic
#0D051A #240D4A #3E167E #581FB2 #7433DB
Accessibility & contrast
On white
12.96
#3E167E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#3E167E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E167E
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E167E | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#29344A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e167e; /* rgb */ color: rgb(62, 22, 126); /* oklch */ color: oklch(33.4% 0.159 293.1);
Tailwind
colors: {
custom: {
50: '#7b59a4',
500: '#3e167e',
950: '#000000',
},
}SCSS
$custom: #3e167e; $custom-light: #7b59a4; $custom-dark: #000000;
JSON
{
"hex": "#3e167e",
"rgb": {
"r": 62,
"g": 22,
"b": 126
},
"hsl": {
"h": 263.077,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.33366,
"c": 0.15871,
"h": 293.1
},
"luminance": 0.03104
}Semantic roles & 50–950 ramp
primary
#3E167E
secondary
#86B33D
accent
#ED3BA8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F