#4A2CA3#4A2CA3
#4A2CA3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.179 H 287.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2CA3 |
|---|---|
| RGB | rgb(74, 44, 163) |
| HSL | hsl(255, 57%, 41%) |
| HSV | hsv(255, 73%, 64%) |
| CMYK | cmyk(54.6%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(29.16, 43.98, -59.45) |
| CIE-LCH | lch(29.16, 73.95, 306.49°) |
| OKLab | oklab(40.87% 0.0528 -0.1709) |
| OKLCH | oklch(40.87% 0.179 287.2) |
| XYZ | xyz(10.3336, 5.9010, 35.2377) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.42
Rebeccapurple
#663399
ΔE00 5.89
Ocean Blue
#4F42B5
ΔE00 6.11
Violet Blue
#510AC9
ΔE00 6.21
Blue With A Hint Of Purple
#533CC6
ΔE00 6.37
Sapphire (survey)
#2138AB
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2CA3 #85A32C
analogous
#2C49A3 #4A2CA3 #852CA3
triadic
#4A2CA3 #A34A2C #2CA34A
tetradic
#4A2CA3 #A32C49 #85A32C #2CA385
square
#4A2CA3 #A32C49 #85A32C #2CA385
split-complementary
#4A2CA3 #A3852C #49A32C
monochromatic
#1E1243 #341F73 #4A2CA3 #6441CC #8B71D9
Accessibility & contrast
On white
9.63
#4A2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#4A2CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2CA3
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2CA3 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#254C65
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4a2ca3; /* rgb */ color: rgb(74, 44, 163); /* oklch */ color: oklch(40.9% 0.179 287.2);
Tailwind
colors: {
custom: {
50: '#8668bf',
500: '#4a2ca3',
950: '#000000',
},
}SCSS
$custom: #4a2ca3; $custom-light: #8668bf; $custom-dark: #000000;
JSON
{
"hex": "#4a2ca3",
"rgb": {
"r": 74,
"g": 44,
"b": 163
},
"hsl": {
"h": 255.126,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.40872,
"c": 0.17891,
"h": 287.2
},
"luminance": 0.05902
}Semantic roles & 50–950 ramp
primary
#4A2CA3
secondary
#AAC06B
accent
#E147BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81