Hex Color #71297F - Custom Color
Color Codes
HEX
#71297F
RGB
rgb(113, 41, 127)
HSL
hsl(290, 51%, 33%)
CMYK
cmyk(11%, 68%, 0%, 50%)
HSV
hsv(290, 68%, 50%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 9.03:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.33: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: #71297F;
color: #71297F;
border-color: #71297F;
}
Tailwind CSS (with arbitrary values)
bg-[#71297F]
text-[#71297F]
border-[#71297F]
// Example usage:
<div className="bg-[#71297F]">