#3C1996#3C1996
#3C1996 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.183 H 285.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1996 |
|---|---|
| RGB | rgb(60, 25, 150) |
| HSL | hsl(257, 71%, 34%) |
| HSV | hsv(257, 83%, 59%) |
| CMYK | cmyk(60%, 83.3%, 0%, 41.2%) |
| CIE-LAB | lab(23.19, 47.54, -61.38) |
| CIE-LCH | lch(23.19, 77.64, 307.76°) |
| OKLab | oklab(35.96% 0.0484 -0.1769) |
| OKLCH | oklch(35.96% 0.183 285.3) |
| XYZ | xyz(7.7145, 3.8574, 29.1863) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.69
Indigo (survey)
#380282
ΔE00 4.31
Royal
#0C1793
ΔE00 4.42
Ultramarine
#2000B1
ΔE00 4.78
Cobalt Blue
#030AA7
ΔE00 4.78
Royal Blue (survey)
#0504AA
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1996 #739619
analogous
#193596 #3C1996 #7B1996
triadic
#3C1996 #963C19 #19963C
tetradic
#3C1996 #961935 #739619 #19967B
square
#3C1996 #961935 #739619 #19967B
split-complementary
#3C1996 #967B19 #359619
monochromatic
#12082D #271062 #3C1996 #5122CA #7349E1
Accessibility & contrast
On white
11.85
#3C1996 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3C1996 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1996
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1996 | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#054059
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3c1996; /* rgb */ color: rgb(60, 25, 150); /* oklch */ color: oklch(36.0% 0.183 285.3);
Tailwind
colors: {
custom: {
50: '#7e5cb6',
500: '#3c1996',
950: '#000000',
},
}SCSS
$custom: #3c1996; $custom-light: #7e5cb6; $custom-dark: #000000;
JSON
{
"hex": "#3c1996",
"rgb": {
"r": 60,
"g": 25,
"b": 150
},
"hsl": {
"h": 256.8,
"s": 71.429,
"l": 34.314
},
"oklch": {
"l": 0.35962,
"c": 0.18337,
"h": 285.3
},
"luminance": 0.03858
}Semantic roles & 50–950 ramp
primary
#3C1996
secondary
#A0C249
accent
#EE3ABC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980