#3C1A96#3C1A96
#3C1A96 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.183 H 285.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1A96 |
|---|---|
| RGB | rgb(60, 26, 150) |
| HSL | hsl(256, 70%, 35%) |
| HSV | hsv(256, 83%, 59%) |
| CMYK | cmyk(60%, 82.7%, 0%, 41.2%) |
| CIE-LAB | lab(23.34, 47.11, -61.14) |
| CIE-LCH | lch(23.34, 77.18, 307.62°) |
| OKLab | oklab(36.06% 0.0479 -0.1762) |
| OKLCH | oklch(36.06% 0.183 285.2) |
| XYZ | xyz(7.7362, 3.9010, 29.1936) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.69
Royal
#0C1793
ΔE00 4.43
Indigo (survey)
#380282
ΔE00 4.43
Cobalt Blue
#030AA7
ΔE00 4.85
Ultramarine
#2000B1
ΔE00 4.86
Royal Blue (survey)
#0504AA
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1A96 #74961A
analogous
#1A3696 #3C1A96 #7A1A96
triadic
#3C1A96 #963C1A #1A963C
tetradic
#3C1A96 #961A36 #74961A #1A967A
square
#3C1A96 #961A36 #74961A #1A967A
split-complementary
#3C1A96 #967A1A #36961A
monochromatic
#12082E #271162 #3C1A96 #5123CA #744BE0
Accessibility & contrast
On white
11.80
#3C1A96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3C1A96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1A96
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1A96 | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#054059
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3c1a96; /* rgb */ color: rgb(60, 26, 150); /* oklch */ color: oklch(36.1% 0.183 285.2);
Tailwind
colors: {
custom: {
50: '#7e5cb6',
500: '#3c1a96',
950: '#000000',
},
}SCSS
$custom: #3c1a96; $custom-light: #7e5cb6; $custom-dark: #000000;
JSON
{
"hex": "#3c1a96",
"rgb": {
"r": 60,
"g": 26,
"b": 150
},
"hsl": {
"h": 256.452,
"s": 70.455,
"l": 34.51
},
"oklch": {
"l": 0.36063,
"c": 0.18255,
"h": 285.2
},
"luminance": 0.03901
}Semantic roles & 50–950 ramp
primary
#3C1A96
secondary
#A1C24A
accent
#ED3BBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980