#4C116C#4C116C
#4C116C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.147 H 309.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4C116C |
|---|---|
| RGB | rgb(76, 17, 108) |
| HSL | hsl(279, 73%, 25%) |
| HSV | hsv(279, 84%, 42%) |
| CMYK | cmyk(29.6%, 84.3%, 0%, 57.6%) |
| CIE-LAB | lab(20.12, 42.12, -39.75) |
| CIE-LCH | lch(20.12, 57.92, 316.66°) |
| OKLab | oklab(33.06% 0.094 -0.1128) |
| OKLCH | oklch(33.06% 0.147 309.8) |
| XYZ | xyz(5.8872, 3.0202, 14.4573) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.10
Indigo
#4B0082
ΔE00 4.52
Indigo (survey)
#380282
ΔE00 6.40
Plum Purple
#4E0550
ΔE00 6.43
Deep Violet
#490648
ΔE00 7.85
Dark Indigo
#1F0954
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C116C #316C11
analogous
#1F116C #4C116C #6C115F
triadic
#4C116C #6C4C11 #116C4C
tetradic
#4C116C #6C1F11 #316C11 #115F6C
square
#4C116C #6C1F11 #316C11 #115F6C
split-complementary
#4C116C #5F6C11 #116C1F
monochromatic
#13041A #270937 #4C116C #7119A1 #9622D6
Accessibility & contrast
On white
13.09
#4C116C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#4C116C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C116C
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C116C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C116C | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#47283F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #4c116c; /* rgb */ color: rgb(76, 17, 108); /* oklch */ color: oklch(33.1% 0.147 309.8);
Tailwind
colors: {
custom: {
50: '#825897',
500: '#4c116c',
950: '#000000',
},
}SCSS
$custom: #4c116c; $custom-light: #825897; $custom-dark: #000000;
JSON
{
"hex": "#4c116c",
"rgb": {
"r": 76,
"g": 17,
"b": 108
},
"hsl": {
"h": 278.901,
"s": 72.8,
"l": 24.51
},
"oklch": {
"l": 0.33055,
"c": 0.14686,
"h": 309.8
},
"luminance": 0.0302
}Semantic roles & 50–950 ramp
primary
#4C116C
secondary
#5CA435
accent
#EF3879
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E