Hex Color #48175B - Custom Color
Color Codes
HEX
#48175B
RGB
rgb(72, 23, 91)
HSL
hsl(283, 60%, 22%)
CMYK
cmyk(21%, 75%, 0%, 64%)
HSV
hsv(283, 75%, 36%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 13.56:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.55: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: #48175B;
color: #48175B;
border-color: #48175B;
}
Tailwind CSS (with arbitrary values)
bg-[#48175B]
text-[#48175B]
border-[#48175B]
// Example usage:
<div className="bg-[#48175B]">