Hex Color #301463 - Custom Color
Color Codes
HEX
#301463
RGB
rgb(48, 20, 99)
HSL
hsl(261, 66%, 23%)
CMYK
cmyk(52%, 80%, 0%, 61%)
HSV
hsv(261, 80%, 39%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 14.94:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.41: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: #301463;
color: #301463;
border-color: #301463;
}
Tailwind CSS (with arbitrary values)
bg-[#301463]
text-[#301463]
border-[#301463]
// Example usage:
<div className="bg-[#301463]">