#3E177D#3E177D
#3E177D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.157 H 293.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3E177D |
|---|---|
| RGB | rgb(62, 23, 125) |
| HSL | hsl(263, 69%, 29%) |
| HSV | hsv(263, 82%, 49%) |
| CMYK | cmyk(50.4%, 81.6%, 0%, 51%) |
| CIE-LAB | lab(20.51, 41.65, -50.14) |
| CIE-LCH | lch(20.51, 65.19, 309.72°) |
| OKLab | oklab(33.37% 0.0617 -0.1439) |
| OKLCH | oklch(33.37% 0.157 293.2) |
| XYZ | xyz(5.9936, 3.1174, 19.6840) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.12
Indigo
#4B0082
ΔE00 3.49
Royal Purple (survey)
#4B006E
ΔE00 5.02
Midnight Blue
#191970
ΔE00 5.81
Royal
#0C1793
ΔE00 6.28
Darkblue
#00008B
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E177D #567D17
analogous
#17237D #3E177D #71177D
triadic
#3E177D #7D3E17 #177D3E
tetradic
#3E177D #7D1723 #567D17 #177D71
square
#3E177D #7D1723 #567D17 #177D71
split-complementary
#3E177D #7D7117 #237D17
monochromatic
#0D051A #240D49 #3E177D #5821B1 #7435DA
Accessibility & contrast
On white
12.93
#3E177D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#3E177D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E177D
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E177D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E177D | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#2A344A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e177d; /* rgb */ color: rgb(62, 23, 125); /* oklch */ color: oklch(33.4% 0.157 293.2);
Tailwind
colors: {
custom: {
50: '#7b59a4',
500: '#3e177d',
950: '#000000',
},
}SCSS
$custom: #3e177d; $custom-light: #7b59a4; $custom-dark: #000000;
JSON
{
"hex": "#3e177d",
"rgb": {
"r": 62,
"g": 23,
"b": 125
},
"hsl": {
"h": 262.941,
"s": 68.919,
"l": 29.02
},
"oklch": {
"l": 0.33371,
"c": 0.15662,
"h": 293.2
},
"luminance": 0.03118
}Semantic roles & 50–950 ramp
primary
#3E177D
secondary
#86B23E
accent
#EC3CA9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F