Hex Color #210467 - Custom Color
Color Codes
HEX
#210467
RGB
rgb(33, 4, 103)
HSL
hsl(258, 93%, 21%)
CMYK
cmyk(68%, 96%, 0%, 60%)
HSV
hsv(258, 96%, 40%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 16.43:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.28: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: #210467;
color: #210467;
border-color: #210467;
}
Tailwind CSS (with arbitrary values)
bg-[#210467]
text-[#210467]
border-[#210467]
// Example usage:
<div className="bg-[#210467]">