#3C147D#3C147D
#3C147D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.159 H 292.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3C147D |
|---|---|
| RGB | rgb(60, 20, 125) |
| HSL | hsl(263, 72%, 28%) |
| HSV | hsv(263, 84%, 49%) |
| CMYK | cmyk(52%, 84%, 0%, 51%) |
| CIE-LAB | lab(19.81, 42.67, -51.30) |
| CIE-LCH | lch(19.81, 66.73, 309.75°) |
| OKLab | oklab(32.83% 0.0607 -0.1474) |
| OKLCH | oklch(32.83% 0.159 292.4) |
| XYZ | xyz(5.8143, 2.9414, 19.6595) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.54
Indigo
#4B0082
ΔE00 3.33
Royal Purple (survey)
#4B006E
ΔE00 4.98
Midnight Blue
#191970
ΔE00 5.66
Royal
#0C1793
ΔE00 6.02
Darkblue
#00008B
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C147D #557D14
analogous
#14207D #3C147D #70147D
triadic
#3C147D #7D3C14 #147D3C
tetradic
#3C147D #7D1420 #557D14 #147D70
square
#3C147D #7D1420 #557D14 #147D70
split-complementary
#3C147D #7D7014 #207D14
monochromatic
#0D041A #230C48 #3C147D #551CB2 #712EDE
Accessibility & contrast
On white
13.22
#3C147D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#3C147D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C147D
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C147D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C147D | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#263349
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3c147d; /* rgb */ color: rgb(60, 20, 125); /* oklch */ color: oklch(32.8% 0.159 292.4);
Tailwind
colors: {
custom: {
50: '#7a58a4',
500: '#3c147d',
950: '#000000',
},
}SCSS
$custom: #3c147d; $custom-light: #7a58a4; $custom-dark: #000000;
JSON
{
"hex": "#3c147d",
"rgb": {
"r": 60,
"g": 20,
"b": 125
},
"hsl": {
"h": 262.857,
"s": 72.414,
"l": 28.431
},
"oklch": {
"l": 0.32829,
"c": 0.15936,
"h": 292.4
},
"luminance": 0.02942
}Semantic roles & 50–950 ramp
primary
#3C147D
secondary
#85B23A
accent
#EF39AA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F