Hex Color #666193 - Custom Color
Color Codes
HEX
#666193
RGB
rgb(102, 97, 147)
HSL
hsl(246, 20%, 48%)
CMYK
cmyk(31%, 34%, 0%, 42%)
HSV
hsv(246, 34%, 58%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.68:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.70: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: #666193;
color: #666193;
border-color: #666193;
}
Tailwind CSS (with arbitrary values)
bg-[#666193]
text-[#666193]
border-[#666193]
// Example usage:
<div className="bg-[#666193]">