#3C1886#3C1886
#3C1886 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.166 H 289.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1886 |
|---|---|
| RGB | rgb(60, 24, 134) |
| HSL | hsl(260, 70%, 31%) |
| HSV | hsv(260, 82%, 53%) |
| CMYK | cmyk(55.2%, 82.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.34, 43.45, -54.48) |
| CIE-LCH | lch(21.34, 69.68, 308.57°) |
| OKLab | oklab(34.17% 0.0547 -0.1567) |
| OKLCH | oklch(34.17% 0.166 289.2) |
| XYZ | xyz(6.4919, 3.3348, 22.8513) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.04
Indigo
#4B0082
ΔE00 3.94
Royal
#0C1793
ΔE00 5.06
Midnight Blue
#191970
ΔE00 5.88
Indigo Blue
#3A18B1
ΔE00 6.11
Darkblue
#00008B
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1886 #628618
analogous
#182B86 #3C1886 #731886
triadic
#3C1886 #863C18 #18863C
tetradic
#3C1886 #86182B #628618 #188673
square
#3C1886 #86182B #628618 #188673
split-complementary
#3C1886 #867318 #2B8618
monochromatic
#0E051E #250F52 #3C1886 #5321BA #713CDC
Accessibility & contrast
On white
12.60
#3C1886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#3C1886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1886
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1886 | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#1F384F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3c1886; /* rgb */ color: rgb(60, 24, 134); /* oklch */ color: oklch(34.2% 0.166 289.2);
Tailwind
colors: {
custom: {
50: '#7b5aaa',
500: '#3c1886',
950: '#000000',
},
}SCSS
$custom: #3c1886; $custom-light: #7b5aaa; $custom-dark: #000000;
JSON
{
"hex": "#3c1886",
"rgb": {
"r": 60,
"g": 24,
"b": 134
},
"hsl": {
"h": 259.636,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.34169,
"c": 0.16597,
"h": 289.2
},
"luminance": 0.03335
}Semantic roles & 50–950 ramp
primary
#3C1886
secondary
#92BA40
accent
#EC3BB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F