#4A2AC9#4A2AC9
#4A2AC9 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.225 H 281.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2AC9 |
|---|---|
| RGB | rgb(74, 42, 201) |
| HSL | hsl(252, 65%, 48%) |
| HSV | hsv(252, 79%, 79%) |
| CMYK | cmyk(63.2%, 79.1%, 0%, 21.2%) |
| CIE-LAB | lab(32.54, 56.02, -76.47) |
| CIE-LCH | lch(32.54, 94.79, 306.23°) |
| OKLab | oklab(44.36% 0.0441 -0.2206) |
| OKLCH | oklch(44.36% 0.225 281.3) |
| XYZ | xyz(14.1913, 7.3277, 55.9136) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.76
Blurple
#5539CC
ΔE00 3.45
Violet Blue
#510AC9
ΔE00 3.76
Blue With A Hint Of Purple
#533CC6
ΔE00 3.90
Blue Violet
#5D06E9
ΔE00 4.92
Indigo Blue
#3A18B1
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2AC9 #A9C92A
analogous
#2A5AC9 #4A2AC9 #992AC9
triadic
#4A2AC9 #C94A2A #2AC94A
tetradic
#4A2AC9 #C92A5A #A9C92A #2AC999
square
#4A2AC9 #C92A5A #A9C92A #2AC999
split-complementary
#4A2AC9 #C9992A #5AC92A
monochromatic
#251564 #371F96 #4A2AC9 #7055DB #9A87E6
Accessibility & contrast
On white
8.52
#4A2AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#4A2AC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2AC9
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2AC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2AC9 | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0047C6
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4a2ac9; /* rgb */ color: rgb(74, 42, 201); /* oklch */ color: oklch(44.4% 0.225 281.3);
Tailwind
colors: {
custom: {
50: '#8d69db',
500: '#4a2ac9',
950: '#000000',
},
}SCSS
$custom: #4a2ac9; $custom-light: #8d69db; $custom-dark: #000000;
JSON
{
"hex": "#4a2ac9",
"rgb": {
"r": 74,
"g": 42,
"b": 201
},
"hsl": {
"h": 252.075,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.44363,
"c": 0.22501,
"h": 281.3
},
"luminance": 0.07329
}Semantic roles & 50–950 ramp
primary
#4A2AC9
secondary
#BFD07F
accent
#E83FC6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83