Indigo is the blue-purple Newton named as a seventh colour of the spectrum. The CSS keyword indigo is #4B0082, which sits at 275° hue — on the purple side of the wheel, despite the name. Grab the HEX codes from a scheme below, or build a custom indigo palette around any base colour with the generator.
Indigo Palette Ideas & HEX Codes
Deep Indigo is a straight ramp at or near full saturation (86%–100%) from #1A0033 to #6A0DAD. Indigo & Violet goes darker still, reaching #10002B. Soft Indigo is the odd one out: three pale violet tints (#E4D4F4, #C3A3E0, #9B6FC9) above the same deep base.
Deep Indigo
#1A0033
#2E004F
#3D0066
#4B0082
#6A0DAD
Indigo & Violet
#10002B
#240046
#3C096C
#4B0082
#7B2CBF
Soft Indigo
#E4D4F4
#C3A3E0
#9B6FC9
#4B0082
#33005A
Anchored to an indigo base — press Space or Generate to roll more schemes. Click a swatch to copy its HEX, lock one to keep it while the rest re-roll, then export as CSS, JSON or HEX.
Free, no sign-up Generated in your browser CSS, JSON & HEX export
Drag in the colour area or the hue bar, or type a HEX / RGB value, then build a scheme anchored to it.
What Goes With Indigo
Indigo is dark and saturated, so it works best as a ground with one bright accent — gold, coral or a pale violet. Within the same range dark blue is the bluer neighbour and purple the redder one, while a full jewel-tone set gives it companions. Denim, astronomy and premium tech branding use it.
Frequently Asked Questions
What HEX codes make an indigo palette?
Indigo is a deep blue-purple: anchor on a near-black indigo (#1A0033, #10002B), use a true indigo (#4B0082) and lift with a soft violet tint (#6A0DAD, #C3A3E0). The dark, rich blue-purple is what separates indigo from a brighter violet or navy. The Deep Indigo, Indigo & Violet and Soft Indigo rows above each carry five codes, which is usually the right number: two darks, a mid and two tints. Across all three the extremes are #10002B and #E4D4F4, which contrast at 14.2:1 — enough for body text at any size under WCAG AA and AAA.
Is indigo blue or purple?
Purple, by measurement. #4B0082 sits at 275° hue, and the blue band ends around 260°. The name comes from the indigo dye and from Newton splitting the spectrum into seven, not from where the colour actually falls — which is why indigo consistently looks more violet than people expect.
How do I use these colours in CSS?
Click Copy CSS for a ready-to-paste :root block with each colour as a custom property (--color-1, --color-2 and so on), or copy a single HEX straight from any swatch above. If a ready-made set is easier, the Deep Indigo row above reads #1A0033 through #6A0DAD and you can type those five in as the custom properties yourself. The generator instead rolls around #4B0082, the base indigo this page is anchored to. Copy JSON gives an array and Copy HEX a comma-separated line when a :root block is not what your project wants.
What are the RGB and HSL values for indigo?
The base indigo this page is anchored to is #4B0082, which is rgb(75, 0, 130) and hsl(275, 100%, 25%). A hue of 275 degrees puts it in the violets, and 25% lightness with 100% saturation makes it a dark shade. The colour picker above accepts HEX or R, G and B numbers directly, so you can type any of those in and rebuild the palette around it. The other codes in the sets above are steps around that base: lighter, darker, or nudged a little along the hue.