Hex Color #731773 - Custom Color

Color Codes

HEX
#731773
RGB
rgb(115, 23, 115)
HSL
hsl(300, 67%, 27%)
CMYK
cmyk(0%, 80%, 0%, 55%)
HSV
hsv(300, 80%, 45%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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