Hex Color #6233BA - Custom Color
Color Codes
HEX
#6233BA
RGB
rgb(98, 51, 186)
HSL
hsl(261, 57%, 46%)
CMYK
cmyk(47%, 73%, 0%, 27%)
HSV
hsv(261, 73%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.77:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.70: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: #6233BA;
color: #6233BA;
border-color: #6233BA;
}
Tailwind CSS (with arbitrary values)
bg-[#6233BA]
text-[#6233BA]
border-[#6233BA]
// Example usage:
<div className="bg-[#6233BA]">