#4A2CA0#4A2CA0
#4A2CA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.175 H 287.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2CA0 |
|---|---|
| RGB | rgb(74, 44, 160) |
| HSL | hsl(256, 57%, 40%) |
| HSV | hsv(256, 73%, 63%) |
| CMYK | cmyk(53.7%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(28.89, 43.09, -58.08) |
| CIE-LCH | lch(28.89, 72.32, 306.57°) |
| OKLab | oklab(40.6% 0.0534 -0.1669) |
| OKLCH | oklch(40.6% 0.175 287.7) |
| XYZ | xyz(10.0680, 5.7948, 33.8389) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.65
Rebeccapurple
#663399
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 6.32
Ocean Blue
#4F42B5
ΔE00 6.32
Blueberry
#464196
ΔE00 6.48
Violet Blue
#510AC9
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2CA0 #82A02C
analogous
#2C48A0 #4A2CA0 #842CA0
triadic
#4A2CA0 #A04A2C #2CA04A
tetradic
#4A2CA0 #A02C48 #82A02C #2CA084
square
#4A2CA0 #A02C48 #82A02C #2CA084
split-complementary
#4A2CA0 #A0842C #48A02C
monochromatic
#1E1240 #341F70 #4A2CA0 #633FCA #8A6FD7
Accessibility & contrast
On white
9.73
#4A2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#4A2CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2CA0
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2CA0 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#284B63
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4a2ca0; /* rgb */ color: rgb(74, 44, 160); /* oklch */ color: oklch(40.6% 0.175 287.7);
Tailwind
colors: {
custom: {
50: '#8668bd',
500: '#4a2ca0',
950: '#000000',
},
}SCSS
$custom: #4a2ca0; $custom-light: #8668bd; $custom-dark: #000000;
JSON
{
"hex": "#4a2ca0",
"rgb": {
"r": 74,
"g": 44,
"b": 160
},
"hsl": {
"h": 255.517,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.40595,
"c": 0.17527,
"h": 287.7
},
"luminance": 0.05795
}Semantic roles & 50–950 ramp
primary
#4A2CA0
secondary
#A8BF69
accent
#E048B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81