Hex Color #665576 - Custom Color
Color Codes
HEX
#665576
RGB
rgb(102, 85, 118)
HSL
hsl(271, 16%, 40%)
CMYK
cmyk(14%, 28%, 0%, 54%)
HSV
hsv(271, 28%, 46%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.72:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.13: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: #665576;
color: #665576;
border-color: #665576;
}
Tailwind CSS (with arbitrary values)
bg-[#665576]
text-[#665576]
border-[#665576]
// Example usage:
<div className="bg-[#665576]">