Hex Color #412273 - Custom Color

Color Codes

HEX
#412273
RGB
rgb(65, 34, 115)
HSL
hsl(263, 54%, 29%)
CMYK
cmyk(43%, 70%, 0%, 55%)
HSV
hsv(263, 70%, 45%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 12.34:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 1.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: #412273;
color: #412273;
border-color: #412273;
}

Tailwind CSS (with arbitrary values)

bg-[#412273]
text-[#412273]
border-[#412273]
// Example usage:
<div className="bg-[#412273]">