Hex Color #674999 - Custom Color
Color Codes
HEX
#674999
RGB
rgb(103, 73, 153)
HSL
hsl(263, 35%, 44%)
CMYK
cmyk(33%, 52%, 0%, 40%)
HSV
hsv(263, 52%, 60%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.02:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.99: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: #674999;
color: #674999;
border-color: #674999;
}
Tailwind CSS (with arbitrary values)
bg-[#674999]
text-[#674999]
border-[#674999]
// Example usage:
<div className="bg-[#674999]">