Hex Color #251332 - Custom Color
Color Codes
HEX
#251332
RGB
rgb(37, 19, 50)
HSL
hsl(275, 45%, 14%)
CMYK
cmyk(26%, 62%, 0%, 80%)
HSV
hsv(275, 62%, 20%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 17.24:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.22: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: #251332;
color: #251332;
border-color: #251332;
}
Tailwind CSS (with arbitrary values)
bg-[#251332]
text-[#251332]
border-[#251332]
// Example usage:
<div className="bg-[#251332]">