Hex Color #352478 - Custom Color
Color Codes
HEX
#352478
RGB
rgb(53, 36, 120)
HSL
hsl(252, 54%, 31%)
CMYK
cmyk(56%, 70%, 0%, 53%)
HSV
hsv(252, 70%, 47%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 12.54:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.67: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: #352478;
color: #352478;
border-color: #352478;
}
Tailwind CSS (with arbitrary values)
bg-[#352478]
text-[#352478]
border-[#352478]
// Example usage:
<div className="bg-[#352478]">