#4C116F#4C116F
#4C116F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.150 H 308.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4C116F |
|---|---|
| RGB | rgb(76, 17, 111) |
| HSL | hsl(278, 73%, 25%) |
| HSV | hsv(278, 85%, 44%) |
| CMYK | cmyk(31.5%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(20.38, 42.81, -41.28) |
| CIE-LCH | lch(20.38, 59.47, 316.05°) |
| OKLab | oklab(33.32% 0.0932 -0.1173) |
| OKLCH | oklch(33.32% 0.15 308.4) |
| XYZ | xyz(6.0496, 3.0852, 15.3127) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 1.97
Indigo
#4B0082
ΔE00 3.97
Indigo (survey)
#380282
ΔE00 5.90
Plum Purple
#4E0550
ΔE00 7.00
Deep Violet
#490648
ΔE00 8.42
Dark Indigo
#1F0954
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C116F #346F11
analogous
#1D116F #4C116F #6F1163
triadic
#4C116F #6F4C11 #116F4C
tetradic
#4C116F #6F1D11 #346F11 #11636F
square
#4C116F #6F1D11 #346F11 #11636F
split-complementary
#4C116F #636F11 #116F1D
monochromatic
#12041B #28093A #4C116F #7019A4 #9521D9
Accessibility & contrast
On white
12.99
#4C116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#4C116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C116F
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C116F | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#462A41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #4c116f; /* rgb */ color: rgb(76, 17, 111); /* oklch */ color: oklch(33.3% 0.150 308.4);
Tailwind
colors: {
custom: {
50: '#825899',
500: '#4c116f',
950: '#000000',
},
}SCSS
$custom: #4c116f; $custom-light: #825899; $custom-dark: #000000;
JSON
{
"hex": "#4c116f",
"rgb": {
"r": 76,
"g": 17,
"b": 111
},
"hsl": {
"h": 277.66,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.33315,
"c": 0.14984,
"h": 308.4
},
"luminance": 0.03085
}Semantic roles & 50–950 ramp
primary
#4C116F
secondary
#5FA635
accent
#F0387C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E