Notification
Go to Home All Tools Compare Glossary Blog Contact

Indigo Color Code: HEX, RGB, HSL and CMYK

Indigo is #4b0082 in hex, rgb(75, 0, 130) in RGB and hsl(275, 100%, 25%) in HSL. Copy any format, check contrast and see shades and matching colours.

Client-Side (Private)
HEX #4b0082
RGB rgb(75, 0, 130)
HSL hsl(275, 100%, 25%)
HSV hsv(275, 100%, 51%)
CMYK cmyk(42%, 100%, 0%, 49%)
Contrast on white 12.95:1
Live Preview
#4b0082 Indigo
e.g. indigo
Quick try:
Converted Result (ALL)

How to use indigo in CSS

Step-by-step mathematical method you can verify by hand

  1. Use the colour name: color: indigo; or background: indigo;
  2. Or use the hex code: color: #4b0082;
  3. Or use RGB: color: rgb(75, 0, 130); and add transparency with rgba or rgb(... / 50%).
  4. Or use HSL to adjust it: hsl(275, 100%, 25%). Raise the last number to lighten, lower it to darken.

Indigo in every format

Worked Hand Example
FormatValue
HEX#4b0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
HSVhsv(275, 100%, 51%)
CMYKcmyk(42%, 100%, 0%, 49%)
Decimal4915330
indigo = #4b0082.

Shades and tints of indigo

The hue and saturation of indigo stay the same and only the HSL lightness changes, so every row is the same colour family.

ShadeHEXHSL lightness
Lightest #e9ccff 90%
Lighter #c980ff 75%
Light #a933ff 60%
Indigo #4a0080 25%
Dark #7600cc 40%
Darker #4a0080 25%
Darkest #23003d 12%

Colours that go with indigo

Colour-wheel harmonies calculated by rotating the hue.

HarmonyHEXRGB
Complementary #378200 rgb(55, 130, 0)
Analogous (+30°) #820078 rgb(130, 0, 120)
Analogous (−30°) #0a0082 rgb(10, 0, 130)
Triadic (+120°) #824b00 rgb(130, 75, 0)
Triadic (+240°) #00824b rgb(0, 130, 75)
Split-complementary (+150°) #788200 rgb(120, 130, 0)
Split-complementary (+210°) #00820a rgb(0, 130, 10)

Contrast of indigo with black and white text

WCAG 2.x contrast ratios.

Text colourRatioAA normal (4.5)AA large (3)
White 12.95:1 Pass Pass
Black 1.62:1 Fail Fail

More colour codes

Quickly jump to other conversions and color systems

Education

About this converter

01

Exact and Explained

Indigo is #4b0082 in hex, rgb(75, 0, 130) in RGB and hsl(275, 100%, 25%) in HSL. Copy any format, check contrast and see shades and matching colours. The worked example and tables on this page are calculated from the numbers themselves, so you can check the result by hand.

02

Privacy

The conversion runs in your browser. Nothing you type is sent to a server.

Good to know

Questions, answered

Quick answers about how this tool works.

indigo is #4b0082 in hex, rgb(75, 0, 130) in RGB and hsl(275, 100%, 25%) in HSL.

indigo is rgb(75, 0, 130). In the simple CMYK formula it is cmyk(42%, 100%, 0%, 49%) (a screen conversion, not a print profile).

Yes. You can write color: indigo; in CSS and it means exactly #4b0082.

Black text has a contrast ratio of 1.62:1 and white text 12.95:1 on this colour. White is the better choice. WCAG AA needs 4.5:1 for normal text.

Was this tool helpful?

★ 5.0 • 2 user ratings

Tap a star to rate instantly

What do you need to work out next?

Search 278+ free tools by name, or pick a category below. Every one runs instantly in your browser — no signup, nothing to install.

More Developer Tools
AI ADVISOR & COACH

Ask AI Advisor

Ask AI