#3C1976#3C1976
#3C1976 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.146 H 293.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1976 |
|---|---|
| RGB | rgb(60, 25, 118) |
| HSL | hsl(263, 65%, 28%) |
| HSV | hsv(263, 79%, 46%) |
| CMYK | cmyk(49.2%, 78.8%, 0%, 53.7%) |
| CIE-LAB | lab(19.90, 38.43, -46.68) |
| CIE-LCH | lch(19.90, 60.46, 309.46°) |
| OKLab | oklab(32.68% 0.059 -0.1339) |
| OKLCH | oklch(32.68% 0.146 293.8) |
| XYZ | xyz(5.4802, 2.9638, 17.4193) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.00
Indigo
#4B0082
ΔE00 4.35
Royal Purple (survey)
#4B006E
ΔE00 4.97
Midnight Blue
#191970
ΔE00 5.36
Royal
#0C1793
ΔE00 6.93
Dark Indigo
#1F0954
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1976 #537619
analogous
#192476 #3C1976 #6A1976
triadic
#3C1976 #763C19 #19763C
tetradic
#3C1976 #761924 #537619 #19766A
square
#3C1976 #761924 #537619 #19766A
split-complementary
#3C1976 #766A19 #247619
monochromatic
#0D0519 #220E43 #3C1976 #5624A8 #7135D4
Accessibility & contrast
On white
13.18
#3C1976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#3C1976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1976
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1976 | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#2A3246
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3c1976; /* rgb */ color: rgb(60, 25, 118); /* oklch */ color: oklch(32.7% 0.146 293.8);
Tailwind
colors: {
custom: {
50: '#785a9e',
500: '#3c1976',
950: '#000000',
},
}SCSS
$custom: #3c1976; $custom-light: #785a9e; $custom-dark: #000000;
JSON
{
"hex": "#3c1976",
"rgb": {
"r": 60,
"g": 25,
"b": 118
},
"hsl": {
"h": 262.581,
"s": 65.035,
"l": 28.039
},
"oklch": {
"l": 0.32679,
"c": 0.14629,
"h": 293.8
},
"luminance": 0.02964
}Semantic roles & 50–950 ramp
primary
#3C1976
secondary
#83AB40
accent
#E840A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E