#A041D2#A041D2
#A041D2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.218 H 311.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A041D2 |
|---|---|
| RGB | rgb(160, 65, 210) |
| HSL | hsl(279, 62%, 54%) |
| HSV | hsv(279, 69%, 82%) |
| CMYK | cmyk(23.8%, 69%, 0%, 17.6%) |
| CIE-LAB | lab(46.85, 61.84, -57.90) |
| CIE-LCH | lch(46.85, 84.71, 316.89°) |
| OKLab | oklab(56.91% 0.1443 -0.1636) |
| OKLCH | oklch(56.91% 0.218 311.4) |
| XYZ | xyz(28.0182, 15.9080, 62.5549) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.40
Vibrant Purple
#AD03DE
ΔE00 4.97
Lightish Purple
#A552E6
ΔE00 5.12
Purply
#983FB2
ΔE00 5.15
Electric Purple
#AA23FF
ΔE00 5.93
Bright Violet
#AD0AFD
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A041D2 #73D241
analogous
#5841D2 #A041D2 #D241BC
triadic
#A041D2 #D2A041 #41D2A0
tetradic
#A041D2 #D25841 #73D241 #41BCD2
square
#A041D2 #D25841 #73D241 #41BCD2
split-complementary
#A041D2 #BCD241 #41D258
monochromatic
#5B1D7B #7F29AD #A041D2 #B972DE #D1A4E9
Accessibility & contrast
On white
5.02
#A041D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#A041D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A041D2
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A041D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A041D2 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#2E71CF
Tritanopia (blue-blind)
#9A6085
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a041d2; /* rgb */ color: rgb(160, 65, 210); /* oklch */ color: oklch(56.9% 0.218 311.4);
Tailwind
colors: {
custom: {
50: '#c07de1',
500: '#a041d2',
950: '#000000',
},
}SCSS
$custom: #a041d2; $custom-light: #c07de1; $custom-dark: #000000;
JSON
{
"hex": "#a041d2",
"rgb": {
"r": 160,
"g": 65,
"b": 210
},
"hsl": {
"h": 279.31,
"s": 61.702,
"l": 53.922
},
"oklch": {
"l": 0.56909,
"c": 0.21814,
"h": 311.4
},
"luminance": 0.15907
}Semantic roles & 50–950 ramp
primary
#A041D2
secondary
#AED698
accent
#E5437B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83