#3C176E#3C176E
#3C176E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.139 H 297.0°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3C176E |
|---|---|
| RGB | rgb(60, 23, 110) |
| HSL | hsl(266, 65%, 26%) |
| HSV | hsv(266, 79%, 43%) |
| CMYK | cmyk(45.5%, 79.1%, 0%, 56.9%) |
| CIE-LAB | lab(18.80, 37.16, -43.32) |
| CIE-LCH | lch(18.80, 57.07, 310.62°) |
| OKLab | oklab(31.67% 0.0631 -0.124) |
| OKLCH | oklch(31.67% 0.139 297) |
| XYZ | xyz(4.9836, 2.6991, 15.0072) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 4.76
Indigo
#4B0082
ΔE00 4.81
Midnight Blue
#191970
ΔE00 5.80
Dark Indigo
#1F0954
ΔE00 6.11
Dark Royal Blue
#02066F
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C176E #496E17
analogous
#171D6E #3C176E #67176E
triadic
#3C176E #6E3C17 #176E3C
tetradic
#3C176E #6E171D #496E17 #176E67
square
#3C176E #6E171D #496E17 #176E67
split-complementary
#3C176E #6E6717 #1D6E17
monochromatic
#0E0519 #200C3B #3C176E #5822A1 #732CD3
Accessibility & contrast
On white
13.64
#3C176E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#3C176E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C176E
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C176E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C176E | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#2F2E41
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3c176e; /* rgb */ color: rgb(60, 23, 110); /* oklch */ color: oklch(31.7% 0.139 297.0);
Tailwind
colors: {
custom: {
50: '#775898',
500: '#3c176e',
950: '#000000',
},
}SCSS
$custom: #3c176e; $custom-light: #775898; $custom-dark: #000000;
JSON
{
"hex": "#3c176e",
"rgb": {
"r": 60,
"g": 23,
"b": 110
},
"hsl": {
"h": 265.517,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.31673,
"c": 0.13911,
"h": 297
},
"luminance": 0.02699
}Semantic roles & 50–950 ramp
primary
#3C176E
secondary
#78A43D
accent
#E83FA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E