#4A1C94#4A1C94
#4A1C94 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.178 H 293.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1C94 |
|---|---|
| RGB | rgb(74, 28, 148) |
| HSL | hsl(263, 68%, 35%) |
| HSV | hsv(263, 81%, 58%) |
| CMYK | cmyk(50%, 81.1%, 0%, 42%) |
| CIE-LAB | lab(25.03, 47.48, -57.07) |
| CIE-LCH | lch(25.03, 74.24, 309.76°) |
| OKLab | oklab(37.54% 0.0697 -0.1638) |
| OKLCH | oklch(37.54% 0.178 293) |
| XYZ | xyz(8.5831, 4.4242, 28.4129) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.47
Indigo Blue
#3A18B1
ΔE00 4.65
Indigo (survey)
#380282
ΔE00 5.05
Ultramarine
#2000B1
ΔE00 6.47
Royal
#0C1793
ΔE00 6.60
Rebeccapurple
#663399
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1C94 #66941C
analogous
#1C2A94 #4A1C94 #861C94
triadic
#4A1C94 #944A1C #1C944A
tetradic
#4A1C94 #941C2A #66941C #1C9486
square
#4A1C94 #941C2A #66941C #1C9486
split-complementary
#4A1C94 #94861C #2A941C
monochromatic
#17092D #301261 #4A1C94 #6426C7 #844DDD
Accessibility & contrast
On white
11.14
#4A1C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#4A1C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1C94
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1C94 | 1.00 | 11.14 | 1.88 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#323F58
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #4a1c94; /* rgb */ color: rgb(74, 28, 148); /* oklch */ color: oklch(37.5% 0.178 293.0);
Tailwind
colors: {
custom: {
50: '#855fb4',
500: '#4a1c94',
950: '#000000',
},
}SCSS
$custom: #4a1c94; $custom-light: #855fb4; $custom-dark: #000000;
JSON
{
"hex": "#4a1c94",
"rgb": {
"r": 74,
"g": 28,
"b": 148
},
"hsl": {
"h": 263,
"s": 68.182,
"l": 34.51
},
"oklch": {
"l": 0.37538,
"c": 0.17805,
"h": 293
},
"luminance": 0.04424
}Semantic roles & 50–950 ramp
primary
#4A1C94
secondary
#93C04C
accent
#EB3DA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980