#3C1A9E#3C1A9E
#3C1A9E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.192 H 283.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1A9E |
|---|---|
| RGB | rgb(60, 26, 158) |
| HSL | hsl(255, 72%, 36%) |
| HSV | hsv(255, 84%, 62%) |
| CMYK | cmyk(62%, 83.5%, 0%, 38%) |
| CIE-LAB | lab(24.22, 49.39, -64.60) |
| CIE-LCH | lch(24.22, 81.31, 307.40°) |
| OKLab | oklab(36.93% 0.0451 -0.1862) |
| OKLCH | oklch(36.93% 0.192 283.6) |
| XYZ | xyz(8.4025, 4.1675, 32.7028) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.55
Ultramarine
#2000B1
ΔE00 4.16
Cobalt Blue
#030AA7
ΔE00 4.45
Royal
#0C1793
ΔE00 4.62
Royal Blue (survey)
#0504AA
ΔE00 4.65
Indigo (survey)
#380282
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1A9E #7C9E1A
analogous
#1A3A9E #3C1A9E #7E1A9E
triadic
#3C1A9E #9E3C1A #1A9E3C
tetradic
#3C1A9E #9E1A3A #7C9E1A #1A9E7E
square
#3C1A9E #9E1A3A #7C9E1A #1A9E7E
split-complementary
#3C1A9E #9E7E1A #3A9E1A
monochromatic
#140935 #281169 #3C1A9E #5023D3 #7650E2
Accessibility & contrast
On white
11.45
#3C1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3C1A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1A9E
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1A9E | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c1a9e; /* rgb */ color: rgb(60, 26, 158); /* oklch */ color: oklch(36.9% 0.192 283.6);
Tailwind
colors: {
custom: {
50: '#7f5dbc',
500: '#3c1a9e',
950: '#000000',
},
}SCSS
$custom: #3c1a9e; $custom-light: #7f5dbc; $custom-dark: #000000;
JSON
{
"hex": "#3c1a9e",
"rgb": {
"r": 60,
"g": 26,
"b": 158
},
"hsl": {
"h": 255.455,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.36926,
"c": 0.19163,
"h": 283.6
},
"luminance": 0.04168
}Semantic roles & 50–950 ramp
primary
#3C1A9E
secondary
#A6C54F
accent
#EE39C0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981