Hex Color #782867 - Custom Color

Color Codes

HEX
#782867
RGB
rgb(120, 40, 103)
HSL
hsl(313, 50%, 31%)
CMYK
cmyk(0%, 67%, 14%, 53%)
HSV
hsv(313, 67%, 47%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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