#3C187A#3C187A
#3C187A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.152 H 292.7°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3C187A |
|---|---|
| RGB | rgb(60, 24, 122) |
| HSL | hsl(262, 67%, 29%) |
| HSV | hsv(262, 80%, 48%) |
| CMYK | cmyk(50.8%, 80.3%, 0%, 52.2%) |
| CIE-LAB | lab(20.12, 40.05, -48.88) |
| CIE-LCH | lch(20.12, 63.19, 309.33°) |
| OKLab | oklab(32.95% 0.0586 -0.1403) |
| OKLCH | oklch(32.95% 0.152 292.7) |
| XYZ | xyz(5.7020, 3.0189, 18.6908) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.43
Indigo
#4B0082
ΔE00 3.96
Royal Purple (survey)
#4B006E
ΔE00 5.12
Midnight Blue
#191970
ΔE00 5.38
Royal
#0C1793
ΔE00 6.36
Deep Blue
#040273
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C187A #567A18
analogous
#18257A #3C187A #6D187A
triadic
#3C187A #7A3C18 #187A3C
tetradic
#3C187A #7A1825 #567A18 #187A6D
square
#3C187A #7A1825 #567A18 #187A6D
split-complementary
#3C187A #7A6D18 #257A18
monochromatic
#0D051A #230E47 #3C187A #5522AD #7135D7
Accessibility & contrast
On white
13.09
#3C187A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3C187A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C187A
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C187A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C187A | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#283348
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3c187a; /* rgb */ color: rgb(60, 24, 122); /* oklch */ color: oklch(33.0% 0.152 292.7);
Tailwind
colors: {
custom: {
50: '#795aa1',
500: '#3c187a',
950: '#000000',
},
}SCSS
$custom: #3c187a; $custom-light: #795aa1; $custom-dark: #000000;
JSON
{
"hex": "#3c187a",
"rgb": {
"r": 60,
"g": 24,
"b": 122
},
"hsl": {
"h": 262.041,
"s": 67.123,
"l": 28.627
},
"oklch": {
"l": 0.32953,
"c": 0.15207,
"h": 292.7
},
"luminance": 0.03019
}Semantic roles & 50–950 ramp
primary
#3C187A
secondary
#86AF3F
accent
#EA3EAB
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F