Hex Color #601178 - Custom Color
Color Codes
HEX
#601178
RGB
rgb(96, 17, 120)
HSL
hsl(286, 75%, 27%)
CMYK
cmyk(20%, 86%, 0%, 53%)
HSV
hsv(286, 86%, 47%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 11.36:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.85: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: #601178;
color: #601178;
border-color: #601178;
}
Tailwind CSS (with arbitrary values)
bg-[#601178]
text-[#601178]
border-[#601178]
// Example usage:
<div className="bg-[#601178]">