#3C147F#3C147F
#3C147F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.162 H 291.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3C147F |
|---|---|
| RGB | rgb(60, 20, 127) |
| HSL | hsl(262, 73%, 29%) |
| HSV | hsv(262, 84%, 50%) |
| CMYK | cmyk(52.8%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(20.02, 43.22, -52.23) |
| CIE-LCH | lch(20.02, 67.79, 309.60°) |
| OKLab | oklab(33.03% 0.0599 -0.1501) |
| OKLCH | oklch(33.03% 0.162 291.8) |
| XYZ | xyz(5.9433, 2.9930, 20.3391) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.42
Indigo
#4B0082
ΔE00 3.31
Royal Purple (survey)
#4B006E
ΔE00 5.18
Midnight Blue
#191970
ΔE00 5.72
Royal
#0C1793
ΔE00 5.79
Darkblue
#00008B
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C147F #577F14
analogous
#14227F #3C147F #72147F
triadic
#3C147F #7F3C14 #147F3C
tetradic
#3C147F #7F1422 #577F14 #147F72
square
#3C147F #7F1422 #577F14 #147F72
split-complementary
#3C147F #7F7214 #227F14
monochromatic
#0C041A #230C4A #3C147F #551CB4 #712FDE
Accessibility & contrast
On white
13.14
#3C147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3C147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C147F
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C147F | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#25344B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3c147f; /* rgb */ color: rgb(60, 20, 127); /* oklch */ color: oklch(33.0% 0.162 291.8);
Tailwind
colors: {
custom: {
50: '#7a58a5',
500: '#3c147f',
950: '#000000',
},
}SCSS
$custom: #3c147f; $custom-light: #7a58a5; $custom-dark: #000000;
JSON
{
"hex": "#3c147f",
"rgb": {
"r": 60,
"g": 20,
"b": 127
},
"hsl": {
"h": 262.43,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.33035,
"c": 0.16161,
"h": 291.8
},
"luminance": 0.02993
}Semantic roles & 50–950 ramp
primary
#3C147F
secondary
#87B43B
accent
#EF38AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F