Hex Color #60229E - Custom Color
Color Codes
HEX
#60229E
RGB
rgb(96, 34, 158)
HSL
hsl(270, 65%, 38%)
CMYK
cmyk(39%, 78%, 0%, 38%)
HSV
hsv(270, 78%, 62%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 9.46:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.22: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: #60229E;
color: #60229E;
border-color: #60229E;
}
Tailwind CSS (with arbitrary values)
bg-[#60229E]
text-[#60229E]
border-[#60229E]
// Example usage:
<div className="bg-[#60229E]">