#3C176F#3C176F
#3C176F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.140 H 296.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3C176F |
|---|---|
| RGB | rgb(60, 23, 111) |
| HSL | hsl(265, 66%, 26%) |
| HSV | hsv(265, 79%, 44%) |
| CMYK | cmyk(45.9%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(18.89, 37.44, -43.81) |
| CIE-LCH | lch(18.89, 57.63, 310.51°) |
| OKLab | oklab(31.77% 0.0628 -0.1254) |
| OKLCH | oklch(31.77% 0.14 296.6) |
| XYZ | xyz(5.0384, 2.7210, 15.2956) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 4.61
Indigo
#4B0082
ΔE00 4.69
Midnight Blue
#191970
ΔE00 5.73
Dark Indigo
#1F0954
ΔE00 6.19
Dark Royal Blue
#02066F
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C176F #4A6F17
analogous
#171E6F #3C176F #68176F
triadic
#3C176F #6F3C17 #176F3C
tetradic
#3C176F #6F171E #4A6F17 #176F68
square
#3C176F #6F171E #4A6F17 #176F68
split-complementary
#3C176F #6F6817 #1E6F17
monochromatic
#0E0519 #210C3C #3C176F #5722A2 #732DD3
Accessibility & contrast
On white
13.60
#3C176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#3C176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C176F
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C176F | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#2E2F42
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3c176f; /* rgb */ color: rgb(60, 23, 111); /* oklch */ color: oklch(31.8% 0.140 296.6);
Tailwind
colors: {
custom: {
50: '#775899',
500: '#3c176f',
950: '#000000',
},
}SCSS
$custom: #3c176f; $custom-light: #775899; $custom-dark: #000000;
JSON
{
"hex": "#3c176f",
"rgb": {
"r": 60,
"g": 23,
"b": 111
},
"hsl": {
"h": 265.227,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.31767,
"c": 0.14028,
"h": 296.6
},
"luminance": 0.02721
}Semantic roles & 50–950 ramp
primary
#3C176F
secondary
#79A53D
accent
#E93FA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E