#4A1895#4A1895
#4A1895 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.183 H 293.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1895 |
|---|---|
| RGB | rgb(74, 24, 149) |
| HSL | hsl(264, 72%, 34%) |
| HSV | hsv(264, 84%, 58%) |
| CMYK | cmyk(50.3%, 83.9%, 0%, 41.6%) |
| CIE-LAB | lab(24.57, 49.36, -58.43) |
| CIE-LCH | lch(24.57, 76.49, 310.19°) |
| OKLab | oklab(37.25% 0.0721 -0.1678) |
| OKLCH | oklch(37.25% 0.183 293.3) |
| XYZ | xyz(8.5740, 4.2787, 28.8021) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.10
Indigo Blue
#3A18B1
ΔE00 4.50
Indigo (survey)
#380282
ΔE00 4.69
Ultramarine
#2000B1
ΔE00 6.10
Royal
#0C1793
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1895 #639518
analogous
#182595 #4A1895 #891895
triadic
#4A1895 #954A18 #18954A
tetradic
#4A1895 #951825 #639518 #189589
square
#4A1895 #951825 #639518 #189589
split-complementary
#4A1895 #958918 #259518
monochromatic
#16072C #301060 #4A1895 #6420CA #8446E1
Accessibility & contrast
On white
11.32
#4A1895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#4A1895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1895
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1895 | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#323E58
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #4a1895; /* rgb */ color: rgb(74, 24, 149); /* oklch */ color: oklch(37.3% 0.183 293.3);
Tailwind
colors: {
custom: {
50: '#855db5',
500: '#4a1895',
950: '#000000',
},
}SCSS
$custom: #4a1895; $custom-light: #855db5; $custom-dark: #000000;
JSON
{
"hex": "#4a1895",
"rgb": {
"r": 74,
"g": 24,
"b": 149
},
"hsl": {
"h": 264,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.37254,
"c": 0.18265,
"h": 293.3
},
"luminance": 0.04279
}Semantic roles & 50–950 ramp
primary
#4A1895
secondary
#91C246
accent
#EF39A6
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980