#3C197D#3C197D
#3C197D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.155 H 291.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3C197D |
|---|---|
| RGB | rgb(60, 25, 125) |
| HSL | hsl(261, 67%, 29%) |
| HSV | hsv(261, 80%, 49%) |
| CMYK | cmyk(52%, 80%, 0%, 51%) |
| CIE-LAB | lab(20.58, 40.42, -50.03) |
| CIE-LCH | lch(20.58, 64.32, 308.94°) |
| OKLab | oklab(33.37% 0.0569 -0.1437) |
| OKLCH | oklch(33.37% 0.155 291.6) |
| XYZ | xyz(5.9117, 3.1364, 19.6919) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.40
Indigo
#4B0082
ΔE00 4.02
Midnight Blue
#191970
ΔE00 5.39
Royal Purple (survey)
#4B006E
ΔE00 5.50
Royal
#0C1793
ΔE00 5.99
Darkblue
#00008B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C197D #5A7D19
analogous
#19287D #3C197D #6E197D
triadic
#3C197D #7D3C19 #197D3C
tetradic
#3C197D #7D1928 #5A7D19 #197D6E
square
#3C197D #7D1928 #5A7D19 #197D6E
split-complementary
#3C197D #7D6E19 #287D19
monochromatic
#0C051A #240F4A #3C197D #5423B0 #7039D7
Accessibility & contrast
On white
12.90
#3C197D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#3C197D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C197D
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C197D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C197D | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#26354A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3c197d; /* rgb */ color: rgb(60, 25, 125); /* oklch */ color: oklch(33.4% 0.155 291.6);
Tailwind
colors: {
custom: {
50: '#795aa4',
500: '#3c197d',
950: '#000000',
},
}SCSS
$custom: #3c197d; $custom-light: #795aa4; $custom-dark: #000000;
JSON
{
"hex": "#3c197d",
"rgb": {
"r": 60,
"g": 25,
"b": 125
},
"hsl": {
"h": 261,
"s": 66.667,
"l": 29.412
},
"oklch": {
"l": 0.33367,
"c": 0.15455,
"h": 291.6
},
"luminance": 0.03137
}Semantic roles & 50–950 ramp
primary
#3C197D
secondary
#8AB140
accent
#EA3EAE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F