#3C187C#3C187C
#3C187C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.154 H 292.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3C187C |
|---|---|
| RGB | rgb(60, 24, 124) |
| HSL | hsl(262, 68%, 29%) |
| HSV | hsv(262, 81%, 49%) |
| CMYK | cmyk(51.6%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(20.32, 40.61, -49.83) |
| CIE-LCH | lch(20.32, 64.28, 309.18°) |
| OKLab | oklab(33.15% 0.058 -0.1431) |
| OKLCH | oklch(33.15% 0.154 292.1) |
| XYZ | xyz(5.8272, 3.0689, 19.3502) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.28
Indigo
#4B0082
ΔE00 3.89
Royal Purple (survey)
#4B006E
ΔE00 5.29
Midnight Blue
#191970
ΔE00 5.41
Royal
#0C1793
ΔE00 6.11
Darkblue
#00008B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C187C #587C18
analogous
#18267C #3C187C #6E187C
triadic
#3C187C #7C3C18 #187C3C
tetradic
#3C187C #7C1826 #587C18 #187C6E
square
#3C187C #7C1826 #587C18 #187C6E
split-complementary
#3C187C #7C6E18 #267C18
monochromatic
#0C051A #230E49 #3C187C #5522AF #7136D8
Accessibility & contrast
On white
13.01
#3C187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3C187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C187C
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C187C | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#27344A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3c187c; /* rgb */ color: rgb(60, 24, 124); /* oklch */ color: oklch(33.2% 0.154 292.1);
Tailwind
colors: {
custom: {
50: '#795aa3',
500: '#3c187c',
950: '#000000',
},
}SCSS
$custom: #3c187c; $custom-light: #795aa3; $custom-dark: #000000;
JSON
{
"hex": "#3c187c",
"rgb": {
"r": 60,
"g": 24,
"b": 124
},
"hsl": {
"h": 261.6,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.33152,
"c": 0.15441,
"h": 292.1
},
"luminance": 0.03069
}Semantic roles & 50–950 ramp
primary
#3C187C
secondary
#88B13F
accent
#EA3DAC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F