Hex Color #571073 - Custom Color
Color Codes
HEX
#571073
RGB
rgb(87, 16, 115)
HSL
hsl(283, 76%, 26%)
CMYK
cmyk(24%, 86%, 0%, 55%)
HSV
hsv(283, 86%, 45%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 12.16:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.73: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: #571073;
color: #571073;
border-color: #571073;
}
Tailwind CSS (with arbitrary values)
bg-[#571073]
text-[#571073]
border-[#571073]
// Example usage:
<div className="bg-[#571073]">