Hex Color #6311EF - Custom Color
Color Codes
HEX
#6311EF
RGB
rgb(99, 17, 239)
HSL
hsl(262, 87%, 50%)
CMYK
cmyk(59%, 93%, 0%, 6%)
HSV
hsv(262, 93%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.35:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.86: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: #6311EF;
color: #6311EF;
border-color: #6311EF;
}
Tailwind CSS (with arbitrary values)
bg-[#6311EF]
text-[#6311EF]
border-[#6311EF]
// Example usage:
<div className="bg-[#6311EF]">