#3C1689#3C1689
#3C1689 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.171 H 288.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1689 |
|---|---|
| RGB | rgb(60, 22, 137) |
| HSL | hsl(260, 72%, 31%) |
| HSV | hsv(260, 84%, 54%) |
| CMYK | cmyk(56.2%, 83.9%, 0%, 46.3%) |
| CIE-LAB | lab(21.36, 45.15, -56.33) |
| CIE-LCH | lch(21.36, 72.19, 308.72°) |
| OKLab | oklab(34.28% 0.0549 -0.1621) |
| OKLCH | oklch(34.28% 0.171 288.7) |
| XYZ | xyz(6.6644, 3.3403, 23.9556) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.82
Indigo
#4B0082
ΔE00 3.83
Royal
#0C1793
ΔE00 4.86
Indigo Blue
#3A18B1
ΔE00 5.67
Darkblue
#00008B
ΔE00 5.84
Cobalt Blue
#030AA7
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1689 #638916
analogous
#162989 #3C1689 #751689
triadic
#3C1689 #893C16 #16893C
tetradic
#3C1689 #891629 #638916 #168975
square
#3C1689 #891629 #638916 #168975
split-complementary
#3C1689 #897516 #298916
monochromatic
#0E0520 #250E54 #3C1689 #531EBE #713ADF
Accessibility & contrast
On white
12.59
#3C1689 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#3C1689 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1689
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1689 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1689 | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#1C3951
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3c1689; /* rgb */ color: rgb(60, 22, 137); /* oklch */ color: oklch(34.3% 0.171 288.7);
Tailwind
colors: {
custom: {
50: '#7c5aad',
500: '#3c1689',
950: '#000000',
},
}SCSS
$custom: #3c1689; $custom-light: #7c5aad; $custom-dark: #000000;
JSON
{
"hex": "#3c1689",
"rgb": {
"r": 60,
"g": 22,
"b": 137
},
"hsl": {
"h": 259.826,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.34278,
"c": 0.17114,
"h": 288.7
},
"luminance": 0.03341
}Semantic roles & 50–950 ramp
primary
#3C1689
secondary
#93BD3E
accent
#EF39B3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F