Hex Color #590271 - Custom Color

Color Codes

HEX
#590271
RGB
rgb(89, 2, 113)
HSL
hsl(287, 97%, 23%)
CMYK
cmyk(21%, 98%, 0%, 56%)
HSV
hsv(287, 98%, 44%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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