#3C177E#3C177E
#3C177E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.158 H 291.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3C177E |
|---|---|
| RGB | rgb(60, 23, 126) |
| HSL | hsl(262, 69%, 29%) |
| HSV | hsv(262, 82%, 49%) |
| CMYK | cmyk(52.4%, 81.7%, 0%, 50.6%) |
| CIE-LAB | lab(20.36, 41.64, -51.03) |
| CIE-LCH | lch(20.36, 65.86, 309.21°) |
| OKLab | oklab(33.24% 0.0581 -0.1466) |
| OKLCH | oklch(33.24% 0.158 291.6) |
| XYZ | xyz(5.9347, 3.0796, 20.0163) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.97
Indigo
#4B0082
ΔE00 3.70
Royal Purple (survey)
#4B006E
ΔE00 5.36
Midnight Blue
#191970
ΔE00 5.52
Royal
#0C1793
ΔE00 5.87
Darkblue
#00008B
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C177E #597E17
analogous
#17267E #3C177E #70177E
triadic
#3C177E #7E3C17 #177E3C
tetradic
#3C177E #7E1726 #597E17 #177E70
square
#3C177E #7E1726 #597E17 #177E70
split-complementary
#3C177E #7E7017 #267E17
monochromatic
#0C051A #230E4A #3C177E #5520B2 #7035DA
Accessibility & contrast
On white
13.00
#3C177E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#3C177E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C177E
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C177E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C177E | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#25354B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3c177e; /* rgb */ color: rgb(60, 23, 126); /* oklch */ color: oklch(33.2% 0.158 291.6);
Tailwind
colors: {
custom: {
50: '#7a59a4',
500: '#3c177e',
950: '#000000',
},
}SCSS
$custom: #3c177e; $custom-light: #7a59a4; $custom-dark: #000000;
JSON
{
"hex": "#3c177e",
"rgb": {
"r": 60,
"g": 23,
"b": 126
},
"hsl": {
"h": 261.553,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.33242,
"c": 0.15771,
"h": 291.6
},
"luminance": 0.0308
}Semantic roles & 50–950 ramp
primary
#3C177E
secondary
#89B33E
accent
#EC3CAD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F