#3C148A#3C148A
#3C148A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.174 H 288.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3C148A |
|---|---|
| RGB | rgb(60, 20, 138) |
| HSL | hsl(260, 75%, 31%) |
| HSV | hsv(260, 86%, 54%) |
| CMYK | cmyk(56.5%, 85.5%, 0%, 45.9%) |
| CIE-LAB | lab(21.19, 46.24, -57.23) |
| CIE-LCH | lch(21.19, 73.57, 308.94°) |
| OKLab | oklab(34.2% 0.0558 -0.1647) |
| OKLCH | oklch(34.2% 0.174 288.7) |
| XYZ | xyz(6.6997, 3.2956, 24.3229) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.59
Indigo
#4B0082
ΔE00 3.69
Royal
#0C1793
ΔE00 4.83
Indigo Blue
#3A18B1
ΔE00 5.56
Darkblue
#00008B
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C148A #628A14
analogous
#14278A #3C148A #77148A
triadic
#3C148A #8A3C14 #148A3C
tetradic
#3C148A #8A1427 #628A14 #148A77
square
#3C148A #8A1427 #628A14 #148A77
split-complementary
#3C148A #8A7714 #278A14
monochromatic
#0E051F #250C55 #3C148A #531CBF #7136E2
Accessibility & contrast
On white
12.66
#3C148A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#3C148A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C148A
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C148A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C148A | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#1B3951
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3c148a; /* rgb */ color: rgb(60, 20, 138); /* oklch */ color: oklch(34.2% 0.174 288.7);
Tailwind
colors: {
custom: {
50: '#7c59ad',
500: '#3c148a',
950: '#000000',
},
}SCSS
$custom: #3c148a; $custom-light: #7c59ad; $custom-dark: #000000;
JSON
{
"hex": "#3c148a",
"rgb": {
"r": 60,
"g": 20,
"b": 138
},
"hsl": {
"h": 260.339,
"s": 74.684,
"l": 30.98
},
"oklch": {
"l": 0.34195,
"c": 0.17387,
"h": 288.7
},
"luminance": 0.03296
}Semantic roles & 50–950 ramp
primary
#3C148A
secondary
#92BE3C
accent
#F136B2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F