#3C197B#3C197B
#3C197B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.152 H 292.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3C197B |
|---|---|
| RGB | rgb(60, 25, 123) |
| HSL | hsl(261, 66%, 29%) |
| HSV | hsv(261, 80%, 48%) |
| CMYK | cmyk(51.2%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(20.38, 39.85, -49.08) |
| CIE-LCH | lch(20.38, 63.22, 309.08°) |
| OKLab | oklab(33.17% 0.0575 -0.1409) |
| OKLCH | oklch(33.17% 0.152 292.2) |
| XYZ | xyz(5.7853, 3.0858, 19.0258) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.53
Indigo
#4B0082
ΔE00 4.08
Royal Purple (survey)
#4B006E
ΔE00 5.33
Midnight Blue
#191970
ΔE00 5.35
Royal
#0C1793
ΔE00 6.24
Navy
#000080
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C197B #587B19
analogous
#19277B #3C197B #6D197B
triadic
#3C197B #7B3C19 #197B3C
tetradic
#3C197B #7B1927 #587B19 #197B6D
square
#3C197B #7B1927 #587B19 #197B6D
split-complementary
#3C197B #7B6D19 #277B19
monochromatic
#0C0519 #230F48 #3C197B #5523AE #7138D7
Accessibility & contrast
On white
12.99
#3C197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#3C197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C197B
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C197B | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#273449
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3c197b; /* rgb */ color: rgb(60, 25, 123); /* oklch */ color: oklch(33.2% 0.152 292.2);
Tailwind
colors: {
custom: {
50: '#795aa2',
500: '#3c197b',
950: '#000000',
},
}SCSS
$custom: #3c197b; $custom-light: #795aa2; $custom-dark: #000000;
JSON
{
"hex": "#3c197b",
"rgb": {
"r": 60,
"g": 25,
"b": 123
},
"hsl": {
"h": 261.429,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.33168,
"c": 0.1522,
"h": 292.2
},
"luminance": 0.03086
}Semantic roles & 50–950 ramp
primary
#3C197B
secondary
#88AF40
accent
#E93FAC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F