Hex Color #46257F - Custom Color
Color Codes
HEX
#46257F
RGB
rgb(70, 37, 127)
HSL
hsl(262, 55%, 32%)
CMYK
cmyk(45%, 71%, 0%, 50%)
HSV
hsv(262, 71%, 50%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 11.47:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.83: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: #46257F;
color: #46257F;
border-color: #46257F;
}
Tailwind CSS (with arbitrary values)
bg-[#46257F]
text-[#46257F]
border-[#46257F]
// Example usage:
<div className="bg-[#46257F]">