#4A106E#4A106E
#4A106E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.149 H 307.7°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4A106E |
|---|---|
| RGB | rgb(74, 16, 110) |
| HSL | hsl(277, 75%, 25%) |
| HSV | hsv(277, 85%, 43%) |
| CMYK | cmyk(32.7%, 85.5%, 0%, 56.9%) |
| CIE-LAB | lab(19.85, 42.58, -41.51) |
| CIE-LCH | lch(19.85, 59.46, 315.73°) |
| OKLab | oklab(32.85% 0.0913 -0.1181) |
| OKLCH | oklch(32.85% 0.149 307.7) |
| XYZ | xyz(5.8232, 2.9523, 15.0119) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 1.82
Indigo
#4B0082
ΔE00 3.93
Indigo (survey)
#380282
ΔE00 5.68
Plum Purple
#4E0550
ΔE00 7.04
Dark Indigo
#1F0954
ΔE00 8.09
Deep Violet
#490648
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A106E #346E10
analogous
#1B106E #4A106E #6E1063
triadic
#4A106E #6E4A10 #106E4A
tetradic
#4A106E #6E1B10 #346E10 #10636E
square
#4A106E #6E1B10 #346E10 #10636E
split-complementary
#4A106E #636E10 #106E1B
monochromatic
#12041B #260839 #4A106E #6E18A3 #9220D9
Accessibility & contrast
On white
13.20
#4A106E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#4A106E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A106E
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A106E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A106E | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#442940
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #4a106e; /* rgb */ color: rgb(74, 16, 110); /* oklch */ color: oklch(32.9% 0.149 307.7);
Tailwind
colors: {
custom: {
50: '#815798',
500: '#4a106e',
950: '#000000',
},
}SCSS
$custom: #4a106e; $custom-light: #815798; $custom-dark: #000000;
JSON
{
"hex": "#4a106e",
"rgb": {
"r": 74,
"g": 16,
"b": 110
},
"hsl": {
"h": 277.021,
"s": 74.603,
"l": 24.706
},
"oklch": {
"l": 0.32852,
"c": 0.14924,
"h": 307.7
},
"luminance": 0.02952
}Semantic roles & 50–950 ramp
primary
#4A106E
secondary
#60A634
accent
#F1377E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E