Hex Color #522363 - Custom Color

Color Codes

HEX
#522363
RGB
rgb(82, 35, 99)
HSL
hsl(284, 48%, 26%)
CMYK
cmyk(17%, 65%, 0%, 61%)
HSV
hsv(284, 65%, 39%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.78: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: #522363;
color: #522363;
border-color: #522363;
}

Tailwind CSS (with arbitrary values)

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