#4A116F#4A116F
#4A116F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.149 H 307.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4A116F |
|---|---|
| RGB | rgb(74, 17, 111) |
| HSL | hsl(276, 73%, 25%) |
| HSV | hsv(276, 85%, 44%) |
| CMYK | cmyk(33.3%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(20.06, 42.46, -41.81) |
| CIE-LCH | lch(20.06, 59.59, 315.44°) |
| OKLab | oklab(33.03% 0.0901 -0.119) |
| OKLCH | oklch(33.03% 0.149 307.1) |
| XYZ | xyz(5.8931, 3.0045, 15.3053) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 1.96
Indigo
#4B0082
ΔE00 3.83
Indigo (survey)
#380282
ΔE00 5.58
Plum Purple
#4E0550
ΔE00 7.23
Dark Indigo
#1F0954
ΔE00 8.13
Deep Violet
#490648
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A116F #366F11
analogous
#1B116F #4A116F #6F1165
triadic
#4A116F #6F4A11 #116F4A
tetradic
#4A116F #6F1B11 #366F11 #11656F
square
#4A116F #6F1B11 #366F11 #11656F
split-complementary
#4A116F #656F11 #116F1B
monochromatic
#12041B #27093A #4A116F #6D19A4 #9121D9
Accessibility & contrast
On white
13.12
#4A116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#4A116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A116F
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A116F | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#442A41
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #4a116f; /* rgb */ color: rgb(74, 17, 111); /* oklch */ color: oklch(33.0% 0.149 307.1);
Tailwind
colors: {
custom: {
50: '#815799',
500: '#4a116f',
950: '#000000',
},
}SCSS
$custom: #4a116f; $custom-light: #815799; $custom-dark: #000000;
JSON
{
"hex": "#4a116f",
"rgb": {
"r": 74,
"g": 17,
"b": 111
},
"hsl": {
"h": 276.383,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.33026,
"c": 0.14929,
"h": 307.1
},
"luminance": 0.03004
}Semantic roles & 50–950 ramp
primary
#4A116F
secondary
#62A635
accent
#F03880
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E