Hex Color #421036 - Custom Color
Color Codes
HEX
#421036
RGB
rgb(66, 16, 54)
HSL
hsl(314, 61%, 16%)
CMYK
cmyk(0%, 76%, 18%, 74%)
HSV
hsv(314, 76%, 26%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 15.45:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.36: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: #421036;
color: #421036;
border-color: #421036;
}
Tailwind CSS (with arbitrary values)
bg-[#421036]
text-[#421036]
border-[#421036]
// Example usage:
<div className="bg-[#421036]">