#3C1A89#3C1A89
#3C1A89 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.168 H 288.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1A89 |
|---|---|
| RGB | rgb(60, 26, 137) |
| HSL | hsl(258, 68%, 32%) |
| HSV | hsv(258, 81%, 54%) |
| CMYK | cmyk(56.2%, 81%, 0%, 46.3%) |
| CIE-LAB | lab(21.96, 43.39, -55.33) |
| CIE-LCH | lch(21.96, 70.32, 308.10°) |
| OKLab | oklab(34.7% 0.0523 -0.1592) |
| OKLCH | oklch(34.7% 0.168 288.2) |
| XYZ | xyz(6.7469, 3.5052, 23.9831) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.48
Indigo
#4B0082
ΔE00 4.34
Royal
#0C1793
ΔE00 4.85
Indigo Blue
#3A18B1
ΔE00 5.63
Midnight Blue
#191970
ΔE00 6.03
Cobalt Blue
#030AA7
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1A89 #67891A
analogous
#1A3089 #3C1A89 #731A89
triadic
#3C1A89 #893C1A #1A893C
tetradic
#3C1A89 #891A30 #67891A #1A8973
square
#3C1A89 #891A30 #67891A #1A8973
split-complementary
#3C1A89 #89731A #30891A
monochromatic
#0F0622 #251056 #3C1A89 #5324BC #7142DB
Accessibility & contrast
On white
12.34
#3C1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#3C1A89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1A89
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1A89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1A89 | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#1B3A52
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3c1a89; /* rgb */ color: rgb(60, 26, 137); /* oklch */ color: oklch(34.7% 0.168 288.2);
Tailwind
colors: {
custom: {
50: '#7b5cad',
500: '#3c1a89',
950: '#000000',
},
}SCSS
$custom: #3c1a89; $custom-light: #7b5cad; $custom-dark: #000000;
JSON
{
"hex": "#3c1a89",
"rgb": {
"r": 60,
"g": 26,
"b": 137
},
"hsl": {
"h": 258.378,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.34697,
"c": 0.16758,
"h": 288.2
},
"luminance": 0.03506
}Semantic roles & 50–950 ramp
primary
#3C1A89
secondary
#97BC43
accent
#EB3DB6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F