#3C1CA6#3C1CA6
#3C1CA6 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.199 H 282.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1CA6 |
|---|---|
| RGB | rgb(60, 28, 166) |
| HSL | hsl(254, 71%, 38%) |
| HSV | hsv(254, 83%, 65%) |
| CMYK | cmyk(63.9%, 83.1%, 0%, 34.9%) |
| CIE-LAB | lab(25.39, 50.82, -67.52) |
| CIE-LCH | lch(25.39, 84.51, 306.97°) |
| OKLab | oklab(38% 0.0413 -0.1948) |
| OKLCH | oklch(38% 0.199 282) |
| XYZ | xyz(9.1595, 4.5437, 36.4633) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.51
Ultramarine
#2000B1
ΔE00 3.97
Cobalt Blue
#030AA7
ΔE00 4.54
Royal Blue (survey)
#0504AA
ΔE00 4.69
Royal
#0C1793
ΔE00 5.14
True Blue
#010FCC
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1CA6 #86A61C
analogous
#1C41A6 #3C1CA6 #811CA6
triadic
#3C1CA6 #A63C1C #1CA63C
tetradic
#3C1CA6 #A61C41 #86A61C #1CA681
square
#3C1CA6 #A61C41 #86A61C #1CA681
split-complementary
#3C1CA6 #A6811C #41A61C
monochromatic
#160A3D #291372 #3C1CA6 #4F25DA #7959E3
Accessibility & contrast
On white
11.00
#3C1CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3C1CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1CA6
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1CA6 | 1.00 | 11.00 | 1.91 | 11.00 |
| #FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c1ca6; /* rgb */ color: rgb(60, 28, 166); /* oklch */ color: oklch(38.0% 0.199 282.0);
Tailwind
colors: {
custom: {
50: '#815fc2',
500: '#3c1ca6',
950: '#000000',
},
}SCSS
$custom: #3c1ca6; $custom-light: #815fc2; $custom-dark: #000000;
JSON
{
"hex": "#3c1ca6",
"rgb": {
"r": 60,
"g": 28,
"b": 166
},
"hsl": {
"h": 253.913,
"s": 71.134,
"l": 38.039
},
"oklch": {
"l": 0.37997,
"c": 0.19912,
"h": 282
},
"luminance": 0.04544
}Semantic roles & 50–950 ramp
primary
#3C1CA6
secondary
#ADC757
accent
#EE3AC4
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982