#4A1C95#4A1C95
#4A1C95 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.179 H 292.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1C95 |
|---|---|
| RGB | rgb(74, 28, 149) |
| HSL | hsl(263, 68%, 35%) |
| HSV | hsv(263, 81%, 58%) |
| CMYK | cmyk(50.3%, 81.2%, 0%, 41.6%) |
| CIE-LAB | lab(25.13, 47.75, -57.52) |
| CIE-LCH | lch(25.13, 74.76, 309.69°) |
| OKLab | oklab(37.64% 0.0694 -0.1652) |
| OKLCH | oklch(37.64% 0.179 292.8) |
| XYZ | xyz(8.6626, 4.4560, 28.8316) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.51
Indigo
#4B0082
ΔE00 4.57
Indigo (survey)
#380282
ΔE00 5.12
Ultramarine
#2000B1
ΔE00 6.37
Royal
#0C1793
ΔE00 6.58
Cobalt Blue
#030AA7
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1C95 #67951C
analogous
#1C2A95 #4A1C95 #871C95
triadic
#4A1C95 #954A1C #1C954A
tetradic
#4A1C95 #951C2A #67951C #1C9587
square
#4A1C95 #951C2A #67951C #1C9587
split-complementary
#4A1C95 #95871C #2A951C
monochromatic
#17092E #301261 #4A1C95 #6426C9 #844EDE
Accessibility & contrast
On white
11.10
#4A1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#4A1C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1C95
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1C95 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#323F59
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4a1c95; /* rgb */ color: rgb(74, 28, 149); /* oklch */ color: oklch(37.6% 0.179 292.8);
Tailwind
colors: {
custom: {
50: '#855fb5',
500: '#4a1c95',
950: '#000000',
},
}SCSS
$custom: #4a1c95; $custom-light: #855fb5; $custom-dark: #000000;
JSON
{
"hex": "#4a1c95",
"rgb": {
"r": 74,
"g": 28,
"b": 149
},
"hsl": {
"h": 262.81,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.37636,
"c": 0.17916,
"h": 292.8
},
"luminance": 0.04456
}Semantic roles & 50–950 ramp
primary
#4A1C95
secondary
#94C04D
accent
#EB3DA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980