Hex Color #702456 - Custom Color
Color Codes
HEX
#702456
RGB
rgb(112, 36, 86)
HSL
hsl(321, 51%, 29%)
CMYK
cmyk(0%, 68%, 23%, 56%)
HSV
hsv(321, 68%, 44%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 10.12:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.08: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: #702456;
color: #702456;
border-color: #702456;
}
Tailwind CSS (with arbitrary values)
bg-[#702456]
text-[#702456]
border-[#702456]
// Example usage:
<div className="bg-[#702456]">