Hex Color #58538A - Custom Color
Color Codes
HEX
#58538A
RGB
rgb(88, 83, 138)
HSL
hsl(245, 25%, 43%)
CMYK
cmyk(36%, 40%, 0%, 46%)
HSV
hsv(245, 40%, 54%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.96:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.02: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: #58538A;
color: #58538A;
border-color: #58538A;
}
Tailwind CSS (with arbitrary values)
bg-[#58538A]
text-[#58538A]
border-[#58538A]
// Example usage:
<div className="bg-[#58538A]">