#3C197E#3C197E
#3C197E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.156 H 291.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3C197E |
|---|---|
| RGB | rgb(60, 25, 126) |
| HSL | hsl(261, 67%, 30%) |
| HSV | hsv(261, 80%, 49%) |
| CMYK | cmyk(52.4%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(20.68, 40.71, -50.50) |
| CIE-LCH | lch(20.68, 64.87, 308.87°) |
| OKLab | oklab(33.47% 0.0566 -0.1451) |
| OKLCH | oklch(33.47% 0.156 291.3) |
| XYZ | xyz(5.9759, 3.1620, 20.0301) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.34
Indigo
#4B0082
ΔE00 4.00
Midnight Blue
#191970
ΔE00 5.42
Royal Purple (survey)
#4B006E
ΔE00 5.59
Royal
#0C1793
ΔE00 5.87
Darkblue
#00008B
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C197E #5B7E19
analogous
#19297E #3C197E #6F197E
triadic
#3C197E #7E3C19 #197E3C
tetradic
#3C197E #7E1929 #5B7E19 #197E6F
square
#3C197E #7E1929 #5B7E19 #197E6F
split-complementary
#3C197E #7E6F19 #297E19
monochromatic
#0C051A #240F4B #3C197E #5423B1 #703AD8
Accessibility & contrast
On white
12.86
#3C197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#3C197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C197E
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C197E | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#25364B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3c197e; /* rgb */ color: rgb(60, 25, 126); /* oklch */ color: oklch(33.5% 0.156 291.3);
Tailwind
colors: {
custom: {
50: '#7a5aa4',
500: '#3c197e',
950: '#000000',
},
}SCSS
$custom: #3c197e; $custom-light: #7a5aa4; $custom-dark: #000000;
JSON
{
"hex": "#3c197e",
"rgb": {
"r": 60,
"g": 25,
"b": 126
},
"hsl": {
"h": 260.792,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.33466,
"c": 0.15572,
"h": 291.3
},
"luminance": 0.03162
}Semantic roles & 50–950 ramp
primary
#3C197E
secondary
#8BB241
accent
#EA3EAE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F