#3C1B89#3C1B89
#3C1B89 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.167 H 288.0°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1B89 |
|---|---|
| RGB | rgb(60, 27, 137) |
| HSL | hsl(258, 67%, 32%) |
| HSV | hsv(258, 80%, 54%) |
| CMYK | cmyk(56.2%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(22.13, 42.92, -55.06) |
| CIE-LCH | lch(22.13, 69.82, 307.94°) |
| OKLab | oklab(34.81% 0.0516 -0.1584) |
| OKLCH | oklch(34.81% 0.167 288) |
| XYZ | xyz(6.7694, 3.5503, 23.9906) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.67
Indigo
#4B0082
ΔE00 4.49
Royal
#0C1793
ΔE00 4.86
Indigo Blue
#3A18B1
ΔE00 5.64
Midnight Blue
#191970
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1B89 #68891B
analogous
#1B3189 #3C1B89 #731B89
triadic
#3C1B89 #893C1B #1B893C
tetradic
#3C1B89 #891B31 #68891B #1B8973
square
#3C1B89 #891B31 #68891B #1B8973
split-complementary
#3C1B89 #89731B #31891B
monochromatic
#0F0723 #261156 #3C1B89 #5225BC #7144DA
Accessibility & contrast
On white
12.28
#3C1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#3C1B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1B89
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1B89 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#1B3B52
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3c1b89; /* rgb */ color: rgb(60, 27, 137); /* oklch */ color: oklch(34.8% 0.167 288.0);
Tailwind
colors: {
custom: {
50: '#7b5cac',
500: '#3c1b89',
950: '#000000',
},
}SCSS
$custom: #3c1b89; $custom-light: #7b5cac; $custom-dark: #000000;
JSON
{
"hex": "#3c1b89",
"rgb": {
"r": 60,
"g": 27,
"b": 137
},
"hsl": {
"h": 258,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.3481,
"c": 0.16663,
"h": 288
},
"luminance": 0.03551
}Semantic roles & 50–950 ramp
primary
#3C1B89
secondary
#98BC44
accent
#EA3EB6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F