#4A116E#4A116E
#4A116E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.148 H 307.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4A116E |
|---|---|
| RGB | rgb(74, 17, 110) |
| HSL | hsl(277, 73%, 25%) |
| HSV | hsv(277, 85%, 43%) |
| CMYK | cmyk(32.7%, 84.5%, 0%, 56.9%) |
| CIE-LAB | lab(19.97, 42.22, -41.31) |
| CIE-LCH | lch(19.97, 59.07, 315.63°) |
| OKLab | oklab(32.94% 0.0904 -0.1175) |
| OKLCH | oklch(32.94% 0.148 307.6) |
| XYZ | xyz(5.8384, 2.9826, 15.0170) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 1.97
Indigo
#4B0082
ΔE00 4.00
Indigo (survey)
#380282
ΔE00 5.74
Plum Purple
#4E0550
ΔE00 7.05
Dark Indigo
#1F0954
ΔE00 8.10
Deep Violet
#490648
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A116E #356E11
analogous
#1B116E #4A116E #6E1164
triadic
#4A116E #6E4A11 #116E4A
tetradic
#4A116E #6E1B11 #356E11 #11646E
square
#4A116E #6E1B11 #356E11 #11646E
split-complementary
#4A116E #646E11 #116E1B
monochromatic
#12041B #260939 #4A116E #6E19A3 #9121D8
Accessibility & contrast
On white
13.15
#4A116E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#4A116E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A116E
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A116E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A116E | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#442A40
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #4a116e; /* rgb */ color: rgb(74, 17, 110); /* oklch */ color: oklch(32.9% 0.148 307.6);
Tailwind
colors: {
custom: {
50: '#815798',
500: '#4a116e',
950: '#000000',
},
}SCSS
$custom: #4a116e; $custom-light: #815798; $custom-dark: #000000;
JSON
{
"hex": "#4a116e",
"rgb": {
"r": 74,
"g": 17,
"b": 110
},
"hsl": {
"h": 276.774,
"s": 73.228,
"l": 24.902
},
"oklch": {
"l": 0.32938,
"c": 0.14828,
"h": 307.6
},
"luminance": 0.02983
}Semantic roles & 50–950 ramp
primary
#4A116E
secondary
#61A535
accent
#F0387F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E