Hex Color #513954 - Custom Color
Color Codes
HEX
#513954
RGB
rgb(81, 57, 84)
HSL
hsl(293, 19%, 28%)
CMYK
cmyk(4%, 32%, 0%, 67%)
HSV
hsv(293, 32%, 33%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 10.18:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.06: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: #513954;
color: #513954;
border-color: #513954;
}
Tailwind CSS (with arbitrary values)
bg-[#513954]
text-[#513954]
border-[#513954]
// Example usage:
<div className="bg-[#513954]">