Hex Color #A41589 - Custom Color
Color Codes
HEX
#A41589
RGB
rgb(164, 21, 137)
HSL
hsl(311, 77%, 36%)
CMYK
cmyk(0%, 87%, 16%, 36%)
HSV
hsv(311, 87%, 64%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.89:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.05:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #A41589;
color: #A41589;
border-color: #A41589;
}
Tailwind CSS (with arbitrary values)
bg-[#A41589]
text-[#A41589]
border-[#A41589]
// Example usage:
<div className="bg-[#A41589]">