Indigo Color
Indigo is a deep violet-blue. Its hex code is #4B0082, which is rgb(75, 0, 130) in RGB, hsl(275, 100%, 25%) in HSL and cmyk(42%, 100%, 0%, 49%) in CMYK. It is a standard named color in CSS, so you can write it as indigo in a stylesheet.
#4B0082exactly indigo
This is the CSS color indigo #4B0082
Use 3 or 6 digits, for example #1E90FF or 19F
For example rgb(30, 144, 255) or 30 144 255
For example hsl(210, 100%, 56%)
For example cmyk(88%, 44%, 0%, 0%)
Recent colors
Colors you pick appear here. They stay on this device.
By the Hex Color Picker Team. Updated
Indigo color codes
- Hex:
#4B0082 - RGB:
rgb(75, 0, 130) - HSL:
hsl(275, 100%, 25%) - CMYK:
cmyk(42%, 100%, 0%, 49%)(standard formula, not a print profile) - CSS name:
indigo
About the color indigo
Indigo has low red, no green and blue at about half strength. Its hue sits at 275 degrees, just past blue and toward purple, so it reads as a dark, quiet violet.
Where indigo works
- Technology, night-time and creative themes.
- Backgrounds and headings with white text, which has very high contrast.
- Gradient ends that deepen into a dark purple-blue.
Colors that go with indigo
These named colors pair well with indigo. Click one to see its page where it exists.
The complementary color of indigo, directly opposite it on the color wheel, is #378200, closest to forestgreen. The analogous neighbors are #0A0082 and #820078, and the triadic partners are #824B00 and #00824B. The color palette generator builds a full scheme from any of them.
Named colors nearest to indigo are midnightblue, darkslateblue, and rebeccapurple.
Shades and tints of indigo
Keeping the hue and saturation of indigo and stepping the lightness from light to dark gives this scale. Use the lighter values for backgrounds and the darker ones for text and borders.
- #F4E5FF
- #DCACFF
- #C473FF
- #AB39FF
- #9300FF
- #7200C6
- #51008C
- #300053
- #0F0019
Contrast and accessibility
White text on indigo has a contrast ratio of 13.0:1, and black text has 1.6:1. The WCAG AA guideline asks for at least 4.5:1 for body text and 3:1 for large text. White text passes on indigo.
Like navy, indigo gets lost on black. It needs a light neighbor.
Common questions
What is the hex code for indigo?
The hex code for indigo is #4B0082. In RGB it is rgb(75, 0, 130) and in HSL it is hsl(275, 100%, 25%).
Is indigo blue or purple?
In CSS it leans purple. Blue is at 240 degrees on the hue wheel, and indigo is at 275.
Is white text readable on indigo?
Yes. White text on indigo has a contrast ratio of 13.0:1, which meets the 4.5:1 WCAG AA guideline for body text.