Hex Color #310620 - Custom Color

Color Codes

HEX
#310620
RGB
rgb(49, 6, 32)
HSL
hsl(324, 78%, 11%)
CMYK
cmyk(0%, 88%, 35%, 81%)
HSV
hsv(324, 88%, 19%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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