#3C1C93#3C1C93
#3C1C93 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.177 H 285.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1C93 |
|---|---|
| RGB | rgb(60, 28, 147) |
| HSL | hsl(256, 68%, 34%) |
| HSV | hsv(256, 81%, 58%) |
| CMYK | cmyk(59.2%, 81%, 0%, 42.4%) |
| CIE-LAB | lab(23.33, 45.35, -59.30) |
| CIE-LCH | lch(23.33, 74.66, 307.41°) |
| OKLab | oklab(35.96% 0.0477 -0.1708) |
| OKLCH | oklch(35.96% 0.177 285.6) |
| XYZ | xyz(7.5436, 3.8973, 27.9529) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.14
Indigo (survey)
#380282
ΔE00 4.45
Royal
#0C1793
ΔE00 4.47
Cobalt Blue
#030AA7
ΔE00 5.23
Indigo
#4B0082
ΔE00 5.25
Ultramarine
#2000B1
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1C93 #73931C
analogous
#1C3893 #3C1C93 #781C93
triadic
#3C1C93 #933C1C #1C933C
tetradic
#3C1C93 #931C38 #73931C #1C9378
square
#3C1C93 #931C38 #73931C #1C9378
split-complementary
#3C1C93 #93781C #38931C
monochromatic
#12082C #271260 #3C1C93 #5126C6 #734CDD
Accessibility & contrast
On white
11.80
#3C1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3C1C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1C93
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1C93 | 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)
#003B96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#0C3F58
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3c1c93; /* rgb */ color: rgb(60, 28, 147); /* oklch */ color: oklch(36.0% 0.177 285.6);
Tailwind
colors: {
custom: {
50: '#7d5db4',
500: '#3c1c93',
950: '#000000',
},
}SCSS
$custom: #3c1c93; $custom-light: #7d5db4; $custom-dark: #000000;
JSON
{
"hex": "#3c1c93",
"rgb": {
"r": 60,
"g": 28,
"b": 147
},
"hsl": {
"h": 256.134,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.35959,
"c": 0.17736,
"h": 285.6
},
"luminance": 0.03898
}Semantic roles & 50–950 ramp
primary
#3C1C93
secondary
#A0BF4C
accent
#EB3DBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980