#3C1CA5#3C1CA5
#3C1CA5 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.198 H 282.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1CA5 |
|---|---|
| RGB | rgb(60, 28, 165) |
| HSL | hsl(254, 71%, 38%) |
| HSV | hsv(254, 83%, 65%) |
| CMYK | cmyk(63.6%, 83%, 0%, 35.3%) |
| CIE-LAB | lab(25.28, 50.53, -67.10) |
| CIE-LCH | lch(25.28, 84.00, 306.98°) |
| OKLab | oklab(37.89% 0.0416 -0.1936) |
| OKLCH | oklch(37.89% 0.198 282.1) |
| XYZ | xyz(9.0681, 4.5071, 35.9821) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.63
Ultramarine
#2000B1
ΔE00 4.00
Cobalt Blue
#030AA7
ΔE00 4.53
Royal Blue (survey)
#0504AA
ΔE00 4.70
Royal
#0C1793
ΔE00 5.07
True Blue
#010FCC
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1CA5 #85A51C
analogous
#1C40A5 #3C1CA5 #811CA5
triadic
#3C1CA5 #A53C1C #1CA53C
tetradic
#3C1CA5 #A51C40 #85A51C #1CA581
square
#3C1CA5 #A51C40 #85A51C #1CA581
split-complementary
#3C1CA5 #A5811C #40A51C
monochromatic
#160A3C #291371 #3C1CA5 #4F25D9 #7959E3
Accessibility & contrast
On white
11.04
#3C1CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3C1CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1CA5
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1CA5 | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c1ca5; /* rgb */ color: rgb(60, 28, 165); /* oklch */ color: oklch(37.9% 0.198 282.1);
Tailwind
colors: {
custom: {
50: '#805ec1',
500: '#3c1ca5',
950: '#000000',
},
}SCSS
$custom: #3c1ca5; $custom-light: #805ec1; $custom-dark: #000000;
JSON
{
"hex": "#3c1ca5",
"rgb": {
"r": 60,
"g": 28,
"b": 165
},
"hsl": {
"h": 254.015,
"s": 70.984,
"l": 37.843
},
"oklch": {
"l": 0.37887,
"c": 0.19799,
"h": 282.1
},
"luminance": 0.04508
}Semantic roles & 50–950 ramp
primary
#3C1CA5
secondary
#ACC656
accent
#EE3AC4
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0512
muted
#7D7981