Hex Color #3311AA - Custom Color

Color Codes

HEX
#3311AA
RGB
rgb(51, 17, 170)
HSL
hsl(253, 82%, 37%)
CMYK
cmyk(70%, 90%, 0%, 33%)
HSV
hsv(253, 90%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.80: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: #3311AA;
color: #3311AA;
border-color: #3311AA;
}

Tailwind CSS (with arbitrary values)

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