#3C1895#3C1895
#3C1895 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.183 H 285.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1895 |
|---|---|
| RGB | rgb(60, 24, 149) |
| HSL | hsl(257, 72%, 34%) |
| HSV | hsv(257, 84%, 58%) |
| CMYK | cmyk(59.7%, 83.9%, 0%, 41.6%) |
| CIE-LAB | lab(22.94, 47.68, -61.18) |
| CIE-LCH | lch(22.94, 77.56, 307.93°) |
| OKLab | oklab(35.76% 0.0494 -0.1763) |
| OKLCH | oklch(35.76% 0.183 285.6) |
| XYZ | xyz(7.6133, 3.7834, 28.7570) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.85
Indigo (survey)
#380282
ΔE00 4.08
Royal
#0C1793
ΔE00 4.42
Cobalt Blue
#030AA7
ΔE00 4.79
Ultramarine
#2000B1
ΔE00 4.80
Indigo
#4B0082
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1895 #719518
analogous
#183395 #3C1895 #7B1895
triadic
#3C1895 #953C18 #18953C
tetradic
#3C1895 #951833 #719518 #18957B
square
#3C1895 #951833 #719518 #18957B
split-complementary
#3C1895 #957B18 #339518
monochromatic
#12072C #271060 #3C1895 #5120CA #7346E1
Accessibility & contrast
On white
11.95
#3C1895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3C1895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1895
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1895 | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#083F58
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3c1895; /* rgb */ color: rgb(60, 24, 149); /* oklch */ color: oklch(35.8% 0.183 285.6);
Tailwind
colors: {
custom: {
50: '#7e5bb5',
500: '#3c1895',
950: '#000000',
},
}SCSS
$custom: #3c1895; $custom-light: #7e5bb5; $custom-dark: #000000;
JSON
{
"hex": "#3c1895",
"rgb": {
"r": 60,
"g": 24,
"b": 149
},
"hsl": {
"h": 257.28,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.35756,
"c": 0.18304,
"h": 285.6
},
"luminance": 0.03784
}Semantic roles & 50–950 ramp
primary
#3C1895
secondary
#9FC246
accent
#EF39BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980