Hex Color #80578F - Custom Color

Color Codes

HEX
#80578F
RGB
rgb(128, 87, 143)
HSL
hsl(284, 24%, 45%)
CMYK
cmyk(10%, 39%, 0%, 44%)
HSV
hsv(284, 39%, 56%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 5.71:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 3.68: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: #80578F;
color: #80578F;
border-color: #80578F;
}

Tailwind CSS (with arbitrary values)

bg-[#80578F]
text-[#80578F]
border-[#80578F]
// Example usage:
<div className="bg-[#80578F]">