Hex Color #341945 - Custom Color

Color Codes

HEX
#341945
RGB
rgb(52, 25, 69)
HSL
hsl(277, 47%, 18%)
CMYK
cmyk(25%, 64%, 0%, 73%)
HSV
hsv(277, 64%, 27%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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