#4C146F#4C146F
#4C146F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.147 H 308.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #4C146F |
|---|---|
| RGB | rgb(76, 20, 111) |
| HSL | hsl(277, 69%, 26%) |
| HSV | hsv(277, 82%, 44%) |
| CMYK | cmyk(31.5%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(20.77, 41.69, -40.65) |
| CIE-LCH | lch(20.77, 58.23, 315.73°) |
| OKLab | oklab(33.59% 0.0906 -0.1155) |
| OKLCH | oklch(33.59% 0.147 308.1) |
| XYZ | xyz(6.0993, 3.1846, 15.3292) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.43
Indigo
#4B0082
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 6.11
Plum Purple
#4E0550
ΔE00 7.05
Deep Violet
#490648
ΔE00 8.45
Dark Indigo
#1F0954
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C146F #376F14
analogous
#1E146F #4C146F #6F1464
triadic
#4C146F #6F4C14 #146F4C
tetradic
#4C146F #6F1E14 #376F14 #14646F
square
#4C146F #6F1E14 #376F14 #14646F
split-complementary
#4C146F #646F14 #146F1E
monochromatic
#12051A #280B3B #4C146F #701DA3 #9327D7
Accessibility & contrast
On white
12.83
#4C146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#4C146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C146F
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C146F | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#462B41
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #4c146f; /* rgb */ color: rgb(76, 20, 111); /* oklch */ color: oklch(33.6% 0.147 308.1);
Tailwind
colors: {
custom: {
50: '#825999',
500: '#4c146f',
950: '#000000',
},
}SCSS
$custom: #4c146f; $custom-light: #825999; $custom-dark: #000000;
JSON
{
"hex": "#4c146f",
"rgb": {
"r": 76,
"g": 20,
"b": 111
},
"hsl": {
"h": 276.923,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.33585,
"c": 0.14682,
"h": 308.1
},
"luminance": 0.03185
}Semantic roles & 50–950 ramp
primary
#4C146F
secondary
#63A639
accent
#EC3C80
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E