Hex Color #382748 - Custom Color
Color Codes
HEX
#382748
RGB
rgb(56, 39, 72)
HSL
hsl(271, 30%, 22%)
CMYK
cmyk(22%, 46%, 0%, 72%)
HSV
hsv(271, 46%, 28%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 13.53: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: #382748;
color: #382748;
border-color: #382748;
}
Tailwind CSS (with arbitrary values)
bg-[#382748]
text-[#382748]
border-[#382748]
// Example usage:
<div className="bg-[#382748]">