Hex Color #572079 - Custom Color

Color Codes

HEX
#572079
RGB
rgb(87, 32, 121)
HSL
hsl(277, 58%, 30%)
CMYK
cmyk(28%, 74%, 0%, 53%)
HSV
hsv(277, 74%, 47%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.89: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: #572079;
color: #572079;
border-color: #572079;
}

Tailwind CSS (with arbitrary values)

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