#3C1AA1#3C1AA1
#3C1AA1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.195 H 283.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1AA1 |
|---|---|
| RGB | rgb(60, 26, 161) |
| HSL | hsl(255, 72%, 37%) |
| HSV | hsv(255, 84%, 63%) |
| CMYK | cmyk(62.7%, 83.9%, 0%, 36.9%) |
| CIE-LAB | lab(24.55, 50.23, -65.88) |
| CIE-LCH | lch(24.55, 82.84, 307.33°) |
| OKLab | oklab(37.25% 0.044 -0.19) |
| OKLCH | oklch(37.25% 0.195 283) |
| XYZ | xyz(8.6639, 4.2720, 34.0793) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.13
Ultramarine
#2000B1
ΔE00 3.96
Cobalt Blue
#030AA7
ΔE00 4.38
Royal Blue (survey)
#0504AA
ΔE00 4.55
Royal
#0C1793
ΔE00 4.77
Indigo (survey)
#380282
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1AA1 #7FA11A
analogous
#1A3CA1 #3C1AA1 #801AA1
triadic
#3C1AA1 #A13C1A #1AA13C
tetradic
#3C1AA1 #A11A3C #7FA11A #1AA180
square
#3C1AA1 #A11A3C #7FA11A #1AA180
split-complementary
#3C1AA1 #A1801A #3CA11A
monochromatic
#150938 #28116C #3C1AA1 #5023D6 #7752E3
Accessibility & contrast
On white
11.32
#3C1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3C1AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1AA1
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1AA1 | 1.00 | 11.32 | 1.85 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c1aa1; /* rgb */ color: rgb(60, 26, 161); /* oklch */ color: oklch(37.3% 0.195 283.0);
Tailwind
colors: {
custom: {
50: '#805dbe',
500: '#3c1aa1',
950: '#000000',
},
}SCSS
$custom: #3c1aa1; $custom-light: #805dbe; $custom-dark: #000000;
JSON
{
"hex": "#3c1aa1",
"rgb": {
"r": 60,
"g": 26,
"b": 161
},
"hsl": {
"h": 255.111,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.37254,
"c": 0.19501,
"h": 283
},
"luminance": 0.04273
}Semantic roles & 50–950 ramp
primary
#3C1AA1
secondary
#A8C651
accent
#EF39C1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981