#4C106F#4C106F
#4C106F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.151 H 308.6°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4C106F |
|---|---|
| RGB | rgb(76, 16, 111) |
| HSL | hsl(278, 75%, 25%) |
| HSV | hsv(278, 86%, 44%) |
| CMYK | cmyk(31.5%, 85.6%, 0%, 56.5%) |
| CIE-LAB | lab(20.26, 43.16, -41.47) |
| CIE-LCH | lch(20.26, 59.86, 316.14°) |
| OKLab | oklab(33.23% 0.094 -0.1179) |
| OKLCH | oklch(33.23% 0.151 308.6) |
| XYZ | xyz(6.0344, 3.0549, 15.3076) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 1.83
Indigo
#4B0082
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 5.85
Plum Purple
#4E0550
ΔE00 6.99
Deep Violet
#490648
ΔE00 8.42
Dark Indigo
#1F0954
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C106F #336F10
analogous
#1D106F #4C106F #6F1062
triadic
#4C106F #6F4C10 #106F4C
tetradic
#4C106F #6F1D10 #336F10 #10626F
square
#4C106F #6F1D10 #336F10 #10626F
split-complementary
#4C106F #626F10 #106F1D
monochromatic
#12041B #27083A #4C106F #7118A4 #951FDA
Accessibility & contrast
On white
13.04
#4C106F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#4C106F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C106F
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C106F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C106F | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#462941
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #4c106f; /* rgb */ color: rgb(76, 16, 111); /* oklch */ color: oklch(33.2% 0.151 308.6);
Tailwind
colors: {
custom: {
50: '#825799',
500: '#4c106f',
950: '#000000',
},
}SCSS
$custom: #4c106f; $custom-light: #825799; $custom-dark: #000000;
JSON
{
"hex": "#4c106f",
"rgb": {
"r": 76,
"g": 16,
"b": 111
},
"hsl": {
"h": 277.895,
"s": 74.803,
"l": 24.902
},
"oklch": {
"l": 0.33232,
"c": 0.15078,
"h": 308.6
},
"luminance": 0.03055
}Semantic roles & 50–950 ramp
primary
#4C106F
secondary
#5EA734
accent
#F1367B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E