Indigo — #4b0082

Indigo (#4b0082) is a dark, vivid purple. It is a CSS named color, so you can use it in stylesheets as color: indigo as well as by its hex code. In RGB it is rgb(75, 0, 130); in HSL, hsl(275, 100%, 25%).

#4b0082

Color conversions

Hex#4b0082
CSS nameindigo
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
CMYK42%, 100%, 0%, 49%
CSS examplecolor: #4b0082; background-color: rgb(75, 0, 130);

Tints and shades of #4b0082

The hue stepped through seven lightness levels, each matched to the closest named or web-safe color — useful for backgrounds, borders, text and hover states that all belong to one family. Click any swatch for its full breakdown.

Color schemes with #4b0082

Complementary — maximum contrast, from opposite sides of the color wheel:

Analogous — neighbours on the wheel, naturally harmonious:

Triadic — three colors evenly spaced for balanced variety:

Tetradic — four colors at 90° intervals:

Text contrast and accessibility

On a #4b0082 background, white text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.

Text colorContrast ratioNormal textLarge text
White text (#ffffff)12.95:1AAAAAA
Black text (#000000)1.62:1FailsFails

Similar named colors

The CSS named colors closest to #4b0082: