#3C1C8E#3C1C8E
#3C1C8E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.172 H 286.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1C8E |
|---|---|
| RGB | rgb(60, 28, 142) |
| HSL | hsl(257, 67%, 33%) |
| HSV | hsv(257, 80%, 56%) |
| CMYK | cmyk(57.7%, 80.3%, 0%, 44.3%) |
| CIE-LAB | lab(22.81, 43.90, -57.06) |
| CIE-LCH | lch(22.81, 72.00, 307.57°) |
| OKLab | oklab(35.44% 0.0493 -0.1643) |
| OKLCH | oklch(35.44% 0.172 286.7) |
| XYZ | xyz(7.1598, 3.7438, 25.9313) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.09
Royal
#0C1793
ΔE00 4.61
Indigo Blue
#3A18B1
ΔE00 4.88
Indigo
#4B0082
ΔE00 4.91
Cobalt Blue
#030AA7
ΔE00 5.68
Ultramarine
#2000B1
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1C8E #6E8E1C
analogous
#1C358E #3C1C8E #751C8E
triadic
#3C1C8E #8E3C1C #1C8E3C
tetradic
#3C1C8E #8E1C35 #6E8E1C #1C8E75
square
#3C1C8E #8E1C35 #6E8E1C #1C8E75
split-complementary
#3C1C8E #8E751C #358E1C
monochromatic
#110828 #26125B #3C1C8E #5226C1 #7249DB
Accessibility & contrast
On white
12.01
#3C1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#3C1C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1C8E
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1C8E | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#153D55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3c1c8e; /* rgb */ color: rgb(60, 28, 142); /* oklch */ color: oklch(35.4% 0.172 286.7);
Tailwind
colors: {
custom: {
50: '#7c5db0',
500: '#3c1c8e',
950: '#000000',
},
}SCSS
$custom: #3c1c8e; $custom-light: #7c5db0; $custom-dark: #000000;
JSON
{
"hex": "#3c1c8e",
"rgb": {
"r": 60,
"g": 28,
"b": 142
},
"hsl": {
"h": 256.842,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.35439,
"c": 0.17153,
"h": 286.7
},
"luminance": 0.03744
}Semantic roles & 50–950 ramp
primary
#3C1C8E
secondary
#9CBD49
accent
#EA3EBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980