Hex Color #54265F - Custom Color
Color Codes
HEX
#54265F
RGB
rgb(84, 38, 95)
HSL
hsl(288, 43%, 26%)
CMYK
cmyk(12%, 60%, 0%, 63%)
HSV
hsv(288, 60%, 37%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 11.54:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.82: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: #54265F;
color: #54265F;
border-color: #54265F;
}
Tailwind CSS (with arbitrary values)
bg-[#54265F]
text-[#54265F]
border-[#54265F]
// Example usage:
<div className="bg-[#54265F]">