#3C177B#3C177B
#3C177B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.154 H 292.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3C177B |
|---|---|
| RGB | rgb(60, 23, 123) |
| HSL | hsl(262, 68%, 29%) |
| HSV | hsv(262, 81%, 48%) |
| CMYK | cmyk(51.2%, 81.3%, 0%, 51.8%) |
| CIE-LAB | lab(20.06, 40.79, -49.62) |
| CIE-LCH | lch(20.06, 64.24, 309.43°) |
| OKLab | oklab(32.94% 0.0591 -0.1425) |
| OKLCH | oklch(32.94% 0.154 292.5) |
| XYZ | xyz(5.7440, 3.0033, 19.0121) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.17
Indigo
#4B0082
ΔE00 3.78
Royal Purple (survey)
#4B006E
ΔE00 5.08
Midnight Blue
#191970
ΔE00 5.45
Royal
#0C1793
ΔE00 6.23
Navy
#000080
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C177B #567B17
analogous
#17247B #3C177B #6E177B
triadic
#3C177B #7B3C17 #177B3C
tetradic
#3C177B #7B1724 #567B17 #177B6E
square
#3C177B #7B1724 #567B17 #177B6E
split-complementary
#3C177B #7B6E17 #247B17
monochromatic
#0D051A #230D47 #3C177B #5521AF #7133D9
Accessibility & contrast
On white
13.12
#3C177B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3C177B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C177B
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C177B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C177B | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#273349
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3c177b; /* rgb */ color: rgb(60, 23, 123); /* oklch */ color: oklch(32.9% 0.154 292.5);
Tailwind
colors: {
custom: {
50: '#7959a2',
500: '#3c177b',
950: '#000000',
},
}SCSS
$custom: #3c177b; $custom-light: #7959a2; $custom-dark: #000000;
JSON
{
"hex": "#3c177b",
"rgb": {
"r": 60,
"g": 23,
"b": 123
},
"hsl": {
"h": 262.2,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.3294,
"c": 0.15425,
"h": 292.5
},
"luminance": 0.03004
}Semantic roles & 50–950 ramp
primary
#3C177B
secondary
#86B03E
accent
#EB3CAB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F