#3C1C8D#3C1C8D
#3C1C8D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.170 H 286.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1C8D |
|---|---|
| RGB | rgb(60, 28, 141) |
| HSL | hsl(257, 67%, 33%) |
| HSV | hsv(257, 80%, 55%) |
| CMYK | cmyk(57.4%, 80.1%, 0%, 44.7%) |
| CIE-LAB | lab(22.70, 43.61, -56.61) |
| CIE-LCH | lch(22.70, 71.46, 307.61°) |
| OKLab | oklab(35.34% 0.0496 -0.163) |
| OKLCH | oklch(35.34% 0.17 286.9) |
| XYZ | xyz(7.0850, 3.7139, 25.5377) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.03
Royal
#0C1793
ΔE00 4.65
Indigo
#4B0082
ΔE00 4.85
Indigo Blue
#3A18B1
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.78
Ultramarine
#2000B1
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1C8D #6D8D1C
analogous
#1C348D #3C1C8D #741C8D
triadic
#3C1C8D #8D3C1C #1C8D3C
tetradic
#3C1C8D #8D1C34 #6D8D1C #1C8D74
square
#3C1C8D #8D1C34 #6D8D1C #1C8D74
split-complementary
#3C1C8D #8D741C #348D1C
monochromatic
#110827 #26125A #3C1C8D #5226C0 #7249DB
Accessibility & contrast
On white
12.05
#3C1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3C1C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1C8D
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1C8D | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#163D54
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3c1c8d; /* rgb */ color: rgb(60, 28, 141); /* oklch */ color: oklch(35.3% 0.170 286.9);
Tailwind
colors: {
custom: {
50: '#7c5daf',
500: '#3c1c8d',
950: '#000000',
},
}SCSS
$custom: #3c1c8d; $custom-light: #7c5daf; $custom-dark: #000000;
JSON
{
"hex": "#3c1c8d",
"rgb": {
"r": 60,
"g": 28,
"b": 141
},
"hsl": {
"h": 256.991,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.35335,
"c": 0.17036,
"h": 286.9
},
"luminance": 0.03714
}Semantic roles & 50–950 ramp
primary
#3C1C8D
secondary
#9CBD48
accent
#EA3EB9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980