#4A106F#4A106F
#4A106F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.150 H 307.3°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4A106F |
|---|---|
| RGB | rgb(74, 16, 111) |
| HSL | hsl(277, 75%, 25%) |
| HSV | hsv(277, 86%, 44%) |
| CMYK | cmyk(33.3%, 85.6%, 0%, 56.5%) |
| CIE-LAB | lab(19.94, 42.81, -42.01) |
| CIE-LCH | lch(19.94, 59.98, 315.54°) |
| OKLab | oklab(32.94% 0.091 -0.1196) |
| OKLCH | oklch(32.94% 0.15 307.3) |
| XYZ | xyz(5.8780, 2.9742, 15.3003) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 1.82
Indigo
#4B0082
ΔE00 3.75
Indigo (survey)
#380282
ΔE00 5.52
Plum Purple
#4E0550
ΔE00 7.22
Dark Indigo
#1F0954
ΔE00 8.12
Deep Violet
#490648
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A106F #356F10
analogous
#1B106F #4A106F #6F1064
triadic
#4A106F #6F4A10 #106F4A
tetradic
#4A106F #6F1B10 #356F10 #10646F
square
#4A106F #6F1B10 #356F10 #10646F
split-complementary
#4A106F #646F10 #106F1B
monochromatic
#12041B #26083A #4A106F #6E18A4 #911FDA
Accessibility & contrast
On white
13.17
#4A106F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#4A106F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A106F
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A106F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A106F | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#442A41
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #4a106f; /* rgb */ color: rgb(74, 16, 111); /* oklch */ color: oklch(32.9% 0.150 307.3);
Tailwind
colors: {
custom: {
50: '#815799',
500: '#4a106f',
950: '#000000',
},
}SCSS
$custom: #4a106f; $custom-light: #815799; $custom-dark: #000000;
JSON
{
"hex": "#4a106f",
"rgb": {
"r": 74,
"g": 16,
"b": 111
},
"hsl": {
"h": 276.632,
"s": 74.803,
"l": 24.902
},
"oklch": {
"l": 0.32941,
"c": 0.15023,
"h": 307.3
},
"luminance": 0.02974
}Semantic roles & 50–950 ramp
primary
#4A106F
secondary
#61A734
accent
#F1367F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E