#3C1687#3C1687
#3C1687 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.169 H 289.2°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1687 |
|---|---|
| RGB | rgb(60, 22, 135) |
| HSL | hsl(260, 72%, 31%) |
| HSV | hsv(260, 84%, 53%) |
| CMYK | cmyk(55.6%, 83.7%, 0%, 47.1%) |
| CIE-LAB | lab(21.14, 44.60, -55.42) |
| CIE-LCH | lch(21.14, 71.14, 308.82°) |
| OKLab | oklab(34.07% 0.0557 -0.1594) |
| OKLCH | oklch(34.07% 0.169 289.2) |
| XYZ | xyz(6.5223, 3.2834, 23.2071) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.73
Indigo
#4B0082
ΔE00 3.73
Royal
#0C1793
ΔE00 5.00
Darkblue
#00008B
ΔE00 5.90
Indigo Blue
#3A18B1
ΔE00 5.97
Midnight Blue
#191970
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1687 #618716
analogous
#162887 #3C1687 #741687
triadic
#3C1687 #873C16 #16873C
tetradic
#3C1687 #871628 #618716 #168774
square
#3C1687 #871628 #618716 #168774
split-complementary
#3C1687 #877416 #288716
monochromatic
#0D051E #250D52 #3C1687 #531FBC #7139DF
Accessibility & contrast
On white
12.68
#3C1687 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#3C1687 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1687
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1687 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1687 | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#1E3850
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3c1687; /* rgb */ color: rgb(60, 22, 135); /* oklch */ color: oklch(34.1% 0.169 289.2);
Tailwind
colors: {
custom: {
50: '#7b59ab',
500: '#3c1687',
950: '#000000',
},
}SCSS
$custom: #3c1687; $custom-light: #7b59ab; $custom-dark: #000000;
JSON
{
"hex": "#3c1687",
"rgb": {
"r": 60,
"g": 22,
"b": 135
},
"hsl": {
"h": 260.177,
"s": 71.975,
"l": 30.784
},
"oklch": {
"l": 0.34068,
"c": 0.16889,
"h": 289.2
},
"luminance": 0.03284
}Semantic roles & 50–950 ramp
primary
#3C1687
secondary
#91BB3E
accent
#EF39B2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F