#3C1C8C#3C1C8C
#3C1C8C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.169 H 287.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1C8C |
|---|---|
| RGB | rgb(60, 28, 140) |
| HSL | hsl(257, 67%, 33%) |
| HSV | hsv(257, 80%, 55%) |
| CMYK | cmyk(57.1%, 80%, 0%, 45.1%) |
| CIE-LAB | lab(22.60, 43.32, -56.16) |
| CIE-LCH | lch(22.60, 70.92, 307.64°) |
| OKLab | oklab(35.23% 0.0499 -0.1617) |
| OKLCH | oklch(35.23% 0.169 287.2) |
| XYZ | xyz(7.0109, 3.6842, 25.1476) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.98
Royal
#0C1793
ΔE00 4.70
Indigo
#4B0082
ΔE00 4.79
Indigo Blue
#3A18B1
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 5.88
Ultramarine
#2000B1
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1C8C #6C8C1C
analogous
#1C348C #3C1C8C #741C8C
triadic
#3C1C8C #8C3C1C #1C8C3C
tetradic
#3C1C8C #8C1C34 #6C8C1C #1C8C74
square
#3C1C8C #8C1C34 #6C8C1C #1C8C74
split-complementary
#3C1C8C #8C741C #348C1C
monochromatic
#100826 #261259 #3C1C8C #5226BF #7248DA
Accessibility & contrast
On white
12.09
#3C1C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3C1C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1C8C
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1C8C | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#183D54
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3c1c8c; /* rgb */ color: rgb(60, 28, 140); /* oklch */ color: oklch(35.2% 0.169 287.2);
Tailwind
colors: {
custom: {
50: '#7c5daf',
500: '#3c1c8c',
950: '#000000',
},
}SCSS
$custom: #3c1c8c; $custom-light: #7c5daf; $custom-dark: #000000;
JSON
{
"hex": "#3c1c8c",
"rgb": {
"r": 60,
"g": 28,
"b": 140
},
"hsl": {
"h": 257.143,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.35232,
"c": 0.16919,
"h": 287.2
},
"luminance": 0.03685
}Semantic roles & 50–950 ramp
primary
#3C1C8C
secondary
#9BBC48
accent
#EA3EB9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0A0410
muted
#7C797F