Hex Color #745079 - Custom Color
Color Codes
HEX
#745079
RGB
rgb(116, 80, 121)
HSL
hsl(293, 20%, 39%)
CMYK
cmyk(4%, 34%, 0%, 53%)
HSV
hsv(293, 34%, 47%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.63:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.17: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: #745079;
color: #745079;
border-color: #745079;
}
Tailwind CSS (with arbitrary values)
bg-[#745079]
text-[#745079]
border-[#745079]
// Example usage:
<div className="bg-[#745079]">