#3C197C#3C197C
#3C197C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.153 H 291.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3C197C |
|---|---|
| RGB | rgb(60, 25, 124) |
| HSL | hsl(261, 66%, 29%) |
| HSV | hsv(261, 80%, 49%) |
| CMYK | cmyk(51.6%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(20.48, 40.14, -49.56) |
| CIE-LCH | lch(20.48, 63.77, 309.01°) |
| OKLab | oklab(33.27% 0.0572 -0.1423) |
| OKLCH | oklch(33.27% 0.153 291.9) |
| XYZ | xyz(5.8482, 3.1109, 19.3572) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.46
Indigo
#4B0082
ΔE00 4.05
Midnight Blue
#191970
ΔE00 5.37
Royal Purple (survey)
#4B006E
ΔE00 5.41
Royal
#0C1793
ΔE00 6.12
Darkblue
#00008B
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C197C #597C19
analogous
#19287C #3C197C #6E197C
triadic
#3C197C #7C3C19 #197C3C
tetradic
#3C197C #7C1928 #597C19 #197C6E
square
#3C197C #7C1928 #597C19 #197C6E
split-complementary
#3C197C #7C6E19 #287C19
monochromatic
#0C0519 #230F49 #3C197C #5523AF #7038D7
Accessibility & contrast
On white
12.95
#3C197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#3C197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C197C
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C197C | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#27354A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3c197c; /* rgb */ color: rgb(60, 25, 124); /* oklch */ color: oklch(33.3% 0.153 291.9);
Tailwind
colors: {
custom: {
50: '#795aa3',
500: '#3c197c',
950: '#000000',
},
}SCSS
$custom: #3c197c; $custom-light: #795aa3; $custom-dark: #000000;
JSON
{
"hex": "#3c197c",
"rgb": {
"r": 60,
"g": 25,
"b": 124
},
"hsl": {
"h": 261.212,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.33267,
"c": 0.15337,
"h": 291.9
},
"luminance": 0.03111
}Semantic roles & 50–950 ramp
primary
#3C197C
secondary
#89B040
accent
#E93EAD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F