#3C1A76#3C1A76
#3C1A76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.145 H 293.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1A76 |
|---|---|
| RGB | rgb(60, 26, 118) |
| HSL | hsl(262, 64%, 28%) |
| HSV | hsv(262, 78%, 46%) |
| CMYK | cmyk(49.2%, 78%, 0%, 53.7%) |
| CIE-LAB | lab(20.07, 37.93, -46.39) |
| CIE-LCH | lch(20.07, 59.93, 309.27°) |
| OKLab | oklab(32.8% 0.0581 -0.133) |
| OKLCH | oklch(32.8% 0.145 293.6) |
| XYZ | xyz(5.5020, 3.0073, 17.4266) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.18
Indigo
#4B0082
ΔE00 4.52
Royal Purple (survey)
#4B006E
ΔE00 5.12
Midnight Blue
#191970
ΔE00 5.32
Royal
#0C1793
ΔE00 6.95
Dark Indigo
#1F0954
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1A76 #54761A
analogous
#1A2676 #3C1A76 #6A1A76
triadic
#3C1A76 #763C1A #1A763C
tetradic
#3C1A76 #761A26 #54761A #1A766A
square
#3C1A76 #761A26 #54761A #1A766A
split-complementary
#3C1A76 #766A1A #26761A
monochromatic
#0D0619 #220F44 #3C1A76 #5525A8 #7137D3
Accessibility & contrast
On white
13.11
#3C1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3C1A76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1A76
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1A76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1A76 | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#2A3347
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3c1a76; /* rgb */ color: rgb(60, 26, 118); /* oklch */ color: oklch(32.8% 0.145 293.6);
Tailwind
colors: {
custom: {
50: '#785a9e',
500: '#3c1a76',
950: '#000000',
},
}SCSS
$custom: #3c1a76; $custom-light: #785a9e; $custom-dark: #000000;
JSON
{
"hex": "#3c1a76",
"rgb": {
"r": 60,
"g": 26,
"b": 118
},
"hsl": {
"h": 262.174,
"s": 63.889,
"l": 28.235
},
"oklch": {
"l": 0.32802,
"c": 0.14516,
"h": 293.6
},
"luminance": 0.03007
}Semantic roles & 50–950 ramp
primary
#3C1A76
secondary
#84AB41
accent
#E741AA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E