Indigo Hex Code — #4B0082

RGB, HSL, and CMYK values for Indigo.

Last updated: April 6, 2026

Indigo Color Values

FormatValue
HEX#4B0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
CMYKcmyk(42%, 100%, 0%, 49%)
Want to explore more shades? Use our Color Converter

About Indigo

Color psychology: Intuition, perception.

Indigo (#4B0082) is a dark shade of purple with a hue angle of 275° on the color wheel, 100% saturation, and 25% lightness. It's commonly used in web design, graphic design, and branding where intuition, perception are desired associations.

In color theory, Indigo sits in the cool section of the spectrum. Its high saturation makes it vivid and attention-grabbing — ideal for CTAs, headings, and brand accents.

When to Use Indigo in Design

Web Design

Use Indigo for headings, links, or accent elements against light backgrounds. Dark colors like this provide strong contrast and draw the eye to important content.

Branding & Logo

Indigo conveys intuition, perception — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.

Print Design

Use the CMYK values (C:42% M:100% Y:0% K:49%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.

UI / UX Design

Dark colors like Indigo are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.

How to Use Indigo in CSS

/* Using HEX */
color: #4B0082;
background-color: #4B0082;

/* Using RGB */
color: rgb(75, 0, 130);

/* Using HSL — best for creating variations */
color: hsl(275, 100%, 25%);

/* Transparent overlay (50% opacity) */
background-color: rgba(75, 0, 130, 0.5);

/* Lighter variant for hover states */
background-color: hsl(275, 100%, 35%);

/* Darker variant for active states */
background-color: hsl(275, 100%, 15%);

HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Indigo without changing its core hue or saturation.

Colors That Go With Indigo

Complementary

Analogous

Triadic

Similar Shades of Purple

Frequently Asked Questions

What is the hex code for Indigo?
The hex color code for Indigo is #4B0082. In CSS, apply it as text color with color: #4B0082;, as a background with background-color: #4B0082;, or as a border with border-color: #4B0082;. Hex is the most widely used color notation on the web because it is compact, supported by every browser, and easy to copy between design tools like Figma, Photoshop, and code editors.
What is Indigo in RGB and when should I use RGB?
Indigo in RGB is rgb(75, 0, 130), where Red=75, Green=0, and Blue=130 on a 0-255 scale. Use RGB when you need transparency — rgba(75, 0, 130, 0.5) creates a 50% transparent version. RGB is also the native format for HTML canvas, WebGL, and JavaScript image manipulation, since each channel represents the intensity of that primary light color on screen displays.
How to use Indigo in CSS with different color formats?
Indigo can be applied in CSS using multiple formats: (1) Hex: color: #4B0082; — most compact and widely used. (2) RGB: color: rgb(75, 0, 130); — useful when calculating colors dynamically in JavaScript. (3) HSL: color: hsl(275, 100%, 25%); — best for creating variations, since adjusting lightness produces lighter or darker shades while keeping the same hue. (4) With transparency: rgba(75, 0, 130, 0.8); or hsla(275, 100%, 25%, 0.8); for 80% opacity overlays.
What is the HSL value of Indigo and why is HSL useful for designers?
Indigo in HSL is hsl(275, 100%, 25%). HSL stands for Hue (275 degrees on the color wheel), Saturation (100% color intensity), and Lightness (25% brightness). HSL is the most intuitive format for designers because you can create harmonious palettes by rotating the hue, generate hover effects by increasing lightness by 10%, and desaturate colors by reducing the S value. This makes Indigo a dark, vivid cool-toned color.
What is the CMYK value of Indigo for print design?
Indigo in CMYK is C:42% M:100% Y:0% K:49%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the standard color model for professional printing — business cards, brochures, merchandise, and packaging. When designing for print in Adobe InDesign or Illustrator, use these exact CMYK values to ensure accurate color reproduction. Screen colors (RGB) often appear more vibrant than their printed CMYK equivalents, so always request a physical proof for brand-critical materials.
What colors pair well with Indigo in design projects?
Purple pairs elegantly with gold, silver, and soft pinks. Dark purple with white creates a premium feel. In tech branding, purple signals creativity and innovation.
Is Indigo (#4B0082) accessible for web design and WCAG compliant?
Most medium purples fail WCAG contrast requirements on white. Use dark purple (#4A148C or darker) for text, and reserve lighter purples for decorative or background elements only. For Indigo specifically: as a dark shade (lightness: 25%), it can work as a text color on light backgrounds, but verify the exact contrast ratio using a contrast checker tool. WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (18px+ bold or 24px+ regular).

Was this page helpful?

Written by

Tamanna Tasnim

Senior Full Stack Developer

ToolsContainerDhaka, Bangladesh5+ years experiencetasnim@toolscontainer.comwww.toolscontainer.com

Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.