Add to Chrome

Indigo color: hex codes, shades and palettes

Palettes built around indigo. Click any swatch to copy its hex code.

Indigo is #4B0082, deep vivid violet. Below are its shades with hex codes, the values in every common format, and indigo color palettes to copy.

Indigo hex, RGB, HSL and OKLCH

#4B0082
HEX
#4B0082
RGB
rgb(75, 0, 130)
HSL
hsl(275, 100%, 25%)
OKLCH
oklch(33.9% 0.179 301.7)
On white
12.95:1
On black
1.62:1

Shades of indigo

9 steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.

Indigo color values

#4B0082rgb(75, 0, 130)
Color spaces of #4b0082
RGB750130
HSL275°100%25%
HSV275°100%51%
CMYK0.421.000.000.49
XYZ6.92993.107521.3495
Yxy3.10750.22080.0990
CIE-Lab20.469451.6856-53.3126
Hunter Lab17.628139.3220-59.4665
OKLCH33.9%0.179301.7°

#4B0082 is 75 red, 0 green and 130 blue. Its blue channel carries the most of it. The nearest of the 216 web safe colors is #330099.

CIE-Lab, XYZ and Yxy are measured against D65, the white point sRGB itself is defined against. Hunter Lab uses the original illuminant C constants, which is what paint and plastics specifications quote, so the two Lab rows are not directly comparable. CMYK is the plain arithmetic conversion: real ink values depend on the press, the paper and the profile.

Base numbers
BaseRedGreenBlue
Binary010010110000000010000010
Octal1130202
Decimal750130
Hex4B0082

#4b0082 mixed with black

Ten even steps of the classic shade ramp, worked out in RGB, which is how the term has always been defined and how other references list it. The OKLCH scale further down this page answers a different question: it steps by equal perceived amounts, so its values are not the same.

  • #4B0082
  • #430075
  • #3C0068
  • #34005B
  • #2D004E
  • #250041
  • #1E0034
  • #160027
  • #0E0019
  • #07000C
  • #000000

#4b0082 mixed with white

The tint ramp, by the same rule in the other direction.

  • #4B0082
  • #5D198E
  • #6F339B
  • #814CA7
  • #9366B4
  • #A57FC0
  • #B799CD
  • #C9B2D9
  • #DBCCE6
  • #EDE5F2
  • #FFFFFF

Channel shares

  • Red36.6%
  • Green0.0%
  • Blue63.4%

Color schemes

Turned in OKLCH rather than HSL, so every member keeps the lightness and chroma of the original instead of one of them arriving washed out.

Complementary

  • #4B0082
  • #313E00

Triadic

  • #4B0082
  • #542C00
  • #00423A

Analogous

  • #4B0082
  • #60005A
  • #1F1F92

Monochromatic

  • #020006
  • #060012
  • #260046
  • #4B0082
  • #6C33A9
  • #8E59D1
  • #B37EFA

#4b0082 on black and on white

The quick brown fox jumps over the lazy dog. 1.62:1

The quick brown fox jumps over the lazy dog. 12.95:1

Body text needs 4.5:1 to meet AA and large text needs 3:1, so a ratio tells you which of the two backgrounds this color can be read on, and at what size.

CSS for #4b0082

color: #4b0082;
background-color: #4b0082;
border: 3px solid #4b0082;
box-shadow: 1px 1px 3px 2px #4b0082;
text-shadow: 4px 4px 2px rgba(75, 0, 130, 0.8);

/* Perceptually even, and what a modern stylesheet wants */
color: oklch(33.9% 0.179 301.7);

The OKLCH form is the same color stated so that lightening or darkening it moves by an amount the eye agrees with. Every current browser understands it.

Contrast and readability

Indigo on white measures 12.95:1 and on black 1.62:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.72:1.

The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.

Related colors: purple, lavender, violet, lilac, plum, eggplant. See every shade on the colors index.

Get Palette Vault from the Microsoft Store