#3C1986#3C1986
#3C1986 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.165 H 289.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1986 |
|---|---|
| RGB | rgb(60, 25, 134) |
| HSL | hsl(259, 69%, 31%) |
| HSV | hsv(259, 81%, 53%) |
| CMYK | cmyk(55.2%, 81.3%, 0%, 47.5%) |
| CIE-LAB | lab(21.49, 42.99, -54.22) |
| CIE-LCH | lch(21.49, 69.20, 308.41°) |
| OKLab | oklab(34.28% 0.054 -0.156) |
| OKLCH | oklch(34.28% 0.165 289.1) |
| XYZ | xyz(6.5129, 3.3768, 22.8583) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.21
Indigo
#4B0082
ΔE00 4.08
Royal
#0C1793
ΔE00 5.07
Midnight Blue
#191970
ΔE00 5.84
Indigo Blue
#3A18B1
ΔE00 6.10
Darkblue
#00008B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1986 #638619
analogous
#192C86 #3C1986 #721986
triadic
#3C1986 #863C19 #19863C
tetradic
#3C1986 #86192C #638619 #198672
square
#3C1986 #86192C #638619 #198672
split-complementary
#3C1986 #867219 #2C8619
monochromatic
#0E061F #250F52 #3C1986 #5323BA #713EDB
Accessibility & contrast
On white
12.53
#3C1986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3C1986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1986
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1986 | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#1F3950
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3c1986; /* rgb */ color: rgb(60, 25, 134); /* oklch */ color: oklch(34.3% 0.165 289.1);
Tailwind
colors: {
custom: {
50: '#7b5baa',
500: '#3c1986',
950: '#000000',
},
}SCSS
$custom: #3c1986; $custom-light: #7b5baa; $custom-dark: #000000;
JSON
{
"hex": "#3c1986",
"rgb": {
"r": 60,
"g": 25,
"b": 134
},
"hsl": {
"h": 259.266,
"s": 68.553,
"l": 31.176
},
"oklch": {
"l": 0.34278,
"c": 0.16504,
"h": 289.1
},
"luminance": 0.03377
}Semantic roles & 50–950 ramp
primary
#3C1986
secondary
#93BA41
accent
#EB3CB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F