#3E177B#3E177B
#3E177B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.154 H 293.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3E177B |
|---|---|
| RGB | rgb(62, 23, 123) |
| HSL | hsl(263, 68%, 29%) |
| HSV | hsv(263, 81%, 48%) |
| CMYK | cmyk(49.6%, 81.3%, 0%, 51.8%) |
| CIE-LAB | lab(20.31, 41.10, -49.19) |
| CIE-LCH | lch(20.31, 64.10, 309.88°) |
| OKLab | oklab(33.17% 0.0624 -0.1412) |
| OKLCH | oklch(33.17% 0.154 293.8) |
| XYZ | xyz(5.8672, 3.0668, 19.0179) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.26
Indigo
#4B0082
ΔE00 3.56
Royal Purple (survey)
#4B006E
ΔE00 4.83
Midnight Blue
#191970
ΔE00 5.78
Royal
#0C1793
ΔE00 6.53
Navy
#000080
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E177B #547B17
analogous
#17227B #3E177B #70177B
triadic
#3E177B #7B3E17 #177B3E
tetradic
#3E177B #7B1722 #547B17 #177B70
square
#3E177B #7B1722 #547B17 #177B70
split-complementary
#3E177B #7B7017 #227B17
monochromatic
#0D051A #240D47 #3E177B #5821AF #7433D9
Accessibility & contrast
On white
13.02
#3E177B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3E177B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E177B
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E177B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E177B | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#2B3349
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e177b; /* rgb */ color: rgb(62, 23, 123); /* oklch */ color: oklch(33.2% 0.154 293.8);
Tailwind
colors: {
custom: {
50: '#7a59a2',
500: '#3e177b',
950: '#000000',
},
}SCSS
$custom: #3e177b; $custom-light: #7a59a2; $custom-dark: #000000;
JSON
{
"hex": "#3e177b",
"rgb": {
"r": 62,
"g": 23,
"b": 123
},
"hsl": {
"h": 263.4,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.33173,
"c": 0.15433,
"h": 293.8
},
"luminance": 0.03067
}Semantic roles & 50–950 ramp
primary
#3E177B
secondary
#83B03E
accent
#EB3CA7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F