#3C176B#3C176B
#3C176B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.136 H 298.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3C176B |
|---|---|
| RGB | rgb(60, 23, 107) |
| HSL | hsl(266, 65%, 25%) |
| HSV | hsv(266, 79%, 42%) |
| CMYK | cmyk(43.9%, 78.5%, 0%, 58%) |
| CIE-LAB | lab(18.52, 36.33, -41.82) |
| CIE-LCH | lch(18.52, 55.39, 310.98°) |
| OKLab | oklab(31.39% 0.0639 -0.1196) |
| OKLCH | oklch(31.39% 0.136 298.1) |
| XYZ | xyz(4.8230, 2.6349, 14.1615) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.31
Indigo
#4B0082
ΔE00 5.19
Indigo (survey)
#380282
ΔE00 5.25
Dark Indigo
#1F0954
ΔE00 5.89
Midnight Blue
#191970
ΔE00 6.04
Dark Royal Blue
#02066F
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C176B #466B17
analogous
#171C6B #3C176B #66176B
triadic
#3C176B #6B3C17 #176B3C
tetradic
#3C176B #6B171C #466B17 #176B66
square
#3C176B #6B171C #466B17 #176B66
split-complementary
#3C176B #6B6617 #1C6B17
monochromatic
#0E0519 #200C39 #3C176B #58229D #742DD0
Accessibility & contrast
On white
13.75
#3C176B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#3C176B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C176B
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C176B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C176B | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#302D40
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3c176b; /* rgb */ color: rgb(60, 23, 107); /* oklch */ color: oklch(31.4% 0.136 298.1);
Tailwind
colors: {
custom: {
50: '#775896',
500: '#3c176b',
950: '#000000',
},
}SCSS
$custom: #3c176b; $custom-light: #775896; $custom-dark: #000000;
JSON
{
"hex": "#3c176b",
"rgb": {
"r": 60,
"g": 23,
"b": 107
},
"hsl": {
"h": 266.429,
"s": 64.615,
"l": 25.49
},
"oklch": {
"l": 0.31391,
"c": 0.13559,
"h": 298.1
},
"luminance": 0.02635
}Semantic roles & 50–950 ramp
primary
#3C176B
secondary
#75A13D
accent
#E8409E
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E