CSS Named Color

Copy-ready color values

HEX#4B0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
HSVhsv(275, 100%, 51%)
CMYK approx.cmyk(42, 100, 0, 49)

Color value table

FormatValueCopy
HEX#4B0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
HSVhsv(275, 100%, 51%)
CMYK approx.cmyk(42, 100, 0, 49)
CSS keywordindigo

Contrast and classification

DarkLightness12.95:1Contrast with white1.62:1Contrast with blackPurple / BlueColor family

Shade and tint preview

White 10%
#5D1A8F

White 30%
#814DA8

White 70%
#C9B3DA

White 90%
#EDE6F3

Black 10%
#440075

Black 30%
#35005B

Black 70%
#170027

Black 90%
#08000D

Harmony palettes

Complementary

#B4FF7D
#C6FF9C

Analogous

#42007B
#4B1072

Triadic

#00824B
#824B00

Split complementary

#C2FF94
#94D167

Using Indigo

Indigo works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-indigo: #4b0082;
}

.button-primary {
  background: var(--color-indigo);
  color: #ffffff;
}

$indigo: #4b0082;

// Tailwind arbitrary value
class="bg-[#4b0082] text-white"