Hex Color #645085 - Custom Color
Color Codes
HEX
#645085
RGB
rgb(100, 80, 133)
HSL
hsl(263, 25%, 42%)
CMYK
cmyk(25%, 40%, 0%, 48%)
HSV
hsv(263, 40%, 52%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.94:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.03: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: #645085;
color: #645085;
border-color: #645085;
}
Tailwind CSS (with arbitrary values)
bg-[#645085]
text-[#645085]
border-[#645085]
// Example usage:
<div className="bg-[#645085]">