Hex Color #6340FB - Custom Color
Color Codes
HEX
#6340FB
RGB
rgb(99, 64, 251)
HSL
hsl(251, 96%, 62%)
CMYK
cmyk(61%, 75%, 0%, 2%)
HSV
hsv(251, 75%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.74:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.66: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: #6340FB;
color: #6340FB;
border-color: #6340FB;
}
Tailwind CSS (with arbitrary values)
bg-[#6340FB]
text-[#6340FB]
border-[#6340FB]
// Example usage:
<div className="bg-[#6340FB]">