Hex Color #5000CA - Custom Color
Color Codes
HEX
#5000CA
RGB
rgb(80, 0, 202)
HSL
hsl(264, 100%, 40%)
CMYK
cmyk(60%, 100%, 0%, 21%)
HSV
hsv(264, 100%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 9.57:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.19: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: #5000CA;
color: #5000CA;
border-color: #5000CA;
}
Tailwind CSS (with arbitrary values)
bg-[#5000CA]
text-[#5000CA]
border-[#5000CA]
// Example usage:
<div className="bg-[#5000CA]">