#3C1890#3C1890
#3C1890 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.177 H 286.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1890 |
|---|---|
| RGB | rgb(60, 24, 144) |
| HSL | hsl(258, 71%, 33%) |
| HSV | hsv(258, 83%, 56%) |
| CMYK | cmyk(58.3%, 83.3%, 0%, 43.5%) |
| CIE-LAB | lab(22.40, 46.27, -58.98) |
| CIE-LCH | lch(22.40, 74.96, 308.12°) |
| OKLab | oklab(35.22% 0.0512 -0.1698) |
| OKLCH | oklch(35.22% 0.177 286.8) |
| XYZ | xyz(7.2226, 3.6271, 26.6997) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.61
Royal
#0C1793
ΔE00 4.49
Indigo
#4B0082
ΔE00 4.53
Indigo Blue
#3A18B1
ΔE00 4.58
Cobalt Blue
#030AA7
ΔE00 5.22
Ultramarine
#2000B1
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1890 #6C9018
analogous
#183090 #3C1890 #781890
triadic
#3C1890 #903C18 #18903C
tetradic
#3C1890 #901830 #6C9018 #189078
square
#3C1890 #901830 #6C9018 #189078
split-complementary
#3C1890 #907818 #309018
monochromatic
#100727 #260F5C #3C1890 #5221C4 #7243E0
Accessibility & contrast
On white
12.17
#3C1890 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#3C1890 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1890
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1890 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1890 | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#123D55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3c1890; /* rgb */ color: rgb(60, 24, 144); /* oklch */ color: oklch(35.2% 0.177 286.8);
Tailwind
colors: {
custom: {
50: '#7d5bb2',
500: '#3c1890',
950: '#000000',
},
}SCSS
$custom: #3c1890; $custom-light: #7d5bb2; $custom-dark: #000000;
JSON
{
"hex": "#3c1890",
"rgb": {
"r": 60,
"g": 24,
"b": 144
},
"hsl": {
"h": 258,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.3522,
"c": 0.17739,
"h": 286.8
},
"luminance": 0.03628
}Semantic roles & 50–950 ramp
primary
#3C1890
secondary
#9BC043
accent
#EE3AB8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980