Hex Color #35157D - Custom Color

Color Codes

HEX
#35157D
RGB
rgb(53, 21, 125)
HSL
hsl(258, 71%, 29%)
CMYK
cmyk(58%, 83%, 0%, 51%)
HSV
hsv(258, 83%, 49%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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