Hex Color #27317B - Custom Color
Color Codes
HEX
#27317B
RGB
rgb(39, 49, 123)
HSL
hsl(233, 52%, 32%)
CMYK
cmyk(68%, 60%, 0%, 52%)
HSV
hsv(233, 68%, 48%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 11.59:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.81: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: #27317B;
color: #27317B;
border-color: #27317B;
}
Tailwind CSS (with arbitrary values)
bg-[#27317B]
text-[#27317B]
border-[#27317B]
// Example usage:
<div className="bg-[#27317B]">