#3C2189#3C2189
#3C2189 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.160 H 287.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2189 |
|---|---|
| RGB | rgb(60, 33, 137) |
| HSL | hsl(256, 61%, 33%) |
| HSV | hsv(256, 76%, 54%) |
| CMYK | cmyk(56.2%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(23.18, 39.90, -53.33) |
| CIE-LCH | lch(23.18, 66.60, 306.81°) |
| OKLab | oklab(35.55% 0.0469 -0.1534) |
| OKLCH | oklch(35.55% 0.16 287) |
| XYZ | xyz(6.9213, 3.8541, 24.0413) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.89
Royal
#0C1793
ΔE00 5.13
Indigo
#4B0082
ΔE00 5.54
Indigo Blue
#3A18B1
ΔE00 5.84
Midnight Blue
#191970
ΔE00 5.97
Cobalt Blue
#030AA7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2189 #6E8921
analogous
#213A89 #3C2189 #702189
triadic
#3C2189 #893C21 #21893C
tetradic
#3C2189 #89213A #6E8921 #218970
square
#3C2189 #89213A #6E8921 #218970
split-complementary
#3C2189 #897021 #3A8921
monochromatic
#110926 #261558 #3C2189 #522DBA #7250D5
Accessibility & contrast
On white
11.86
#3C2189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3C2189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2189
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2189 | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#1B3E53
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3c2189; /* rgb */ color: rgb(60, 33, 137); /* oklch */ color: oklch(35.6% 0.160 287.0);
Tailwind
colors: {
custom: {
50: '#7b5fac',
500: '#3c2189',
950: '#000000',
},
}SCSS
$custom: #3c2189; $custom-light: #7b5fac; $custom-dark: #000000;
JSON
{
"hex": "#3c2189",
"rgb": {
"r": 60,
"g": 33,
"b": 137
},
"hsl": {
"h": 255.577,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.35551,
"c": 0.16043,
"h": 287
},
"luminance": 0.03855
}Semantic roles & 50–950 ramp
primary
#3C2189
secondary
#9CB84E
accent
#E444BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F