Hex Color #61317D - Custom Color

Color Codes

HEX
#61317D
RGB
rgb(97, 49, 125)
HSL
hsl(278, 44%, 34%)
CMYK
cmyk(22%, 61%, 0%, 51%)
HSV
hsv(278, 61%, 49%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.24: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: #61317D;
color: #61317D;
border-color: #61317D;
}

Tailwind CSS (with arbitrary values)

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