Hex Color #DA40CE - Custom Color
Color Codes
HEX
#DA40CE
RGB
rgb(218, 64, 206)
HSL
hsl(305, 68%, 55%)
CMYK
cmyk(0%, 71%, 6%, 15%)
HSV
hsv(305, 71%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.75:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.61:1
Pass - 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: #DA40CE;
color: #DA40CE;
border-color: #DA40CE;
}
Tailwind CSS (with arbitrary values)
bg-[#DA40CE]
text-[#DA40CE]
border-[#DA40CE]
// Example usage:
<div className="bg-[#DA40CE]">