#3C1876#3C1876
#3C1876 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.147 H 294.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1876 |
|---|---|
| RGB | rgb(60, 24, 118) |
| HSL | hsl(263, 66%, 28%) |
| HSV | hsv(263, 80%, 46%) |
| CMYK | cmyk(49.2%, 79.7%, 0%, 53.7%) |
| CIE-LAB | lab(19.73, 38.92, -46.96) |
| CIE-LCH | lch(19.73, 60.99, 309.65°) |
| OKLab | oklab(32.56% 0.0599 -0.1347) |
| OKLCH | oklch(32.56% 0.147 294) |
| XYZ | xyz(5.4592, 2.9218, 17.4123) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.83
Indigo
#4B0082
ΔE00 4.19
Royal Purple (survey)
#4B006E
ΔE00 4.82
Midnight Blue
#191970
ΔE00 5.40
Royal
#0C1793
ΔE00 6.92
Dark Indigo
#1F0954
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1876 #527618
analogous
#182376 #3C1876 #6B1876
triadic
#3C1876 #763C18 #18763C
tetradic
#3C1876 #761823 #527618 #18766B
square
#3C1876 #761823 #527618 #18766B
split-complementary
#3C1876 #766B18 #237618
monochromatic
#0D0519 #220E43 #3C1876 #5622A9 #7133D5
Accessibility & contrast
On white
13.25
#3C1876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#3C1876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1876
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1876 | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#2A3246
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3c1876; /* rgb */ color: rgb(60, 24, 118); /* oklch */ color: oklch(32.6% 0.147 294.0);
Tailwind
colors: {
custom: {
50: '#78599e',
500: '#3c1876',
950: '#000000',
},
}SCSS
$custom: #3c1876; $custom-light: #78599e; $custom-dark: #000000;
JSON
{
"hex": "#3c1876",
"rgb": {
"r": 60,
"g": 24,
"b": 118
},
"hsl": {
"h": 262.979,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.3256,
"c": 0.14739,
"h": 294
},
"luminance": 0.02922
}Semantic roles & 50–950 ramp
primary
#3C1876
secondary
#82AB3F
accent
#E93FA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E