Deep Midnight Violet-Blue Category: Purple

Indigo (#4B0082) — Color Codes, Meaning & UI Palettes

Indigo occupies the mystic boundary between blue and violet in the optical rainbow. It signifies intuition, deep intellectual focus, wisdom, and cosmic depth.

Quick Answer (Indigo Color Code): The exact HEX code for Indigo is #4B0082. In RGB, it is rgb(75, 0, 130). In HSL, it is hsl(275deg, 100%, 25%), and its print CMYK formulation is cmyk(42%, 100%, 0%, 49%). It has a relative luminance of 0.031 and pairs best in UI design with Pure White (#FFFFFF) and Laser Cyan (#06B6D4).
Click to Copy HEX
Indigo
#4B0082
HEX
#4B0082
RGB
rgb(75, 0, 130)
HSL
hsl(275deg, 100%, 25%)
CMYK (Print)
cmyk(42%, 100%, 0%, 49%)
Apple Display P3
color(display-p3 0.294 0.000 0.510)

WCAG 2.1 Accessibility & Contrast Rating

White Text (#FFFFFF) 12.95:1 (AAA)
Black Text (#000000) 1.62:1 (Fail)

11-Step Tints & Shades Scale (Tailwind 50–950)

Mathematically balanced luminance scale for design tokens and CSS color palettes. Click any shade to copy hex code:

50
#F4F0F8
100
#E2D6EB
200
#C5ADD7
300
#A17ABE
400
#763DA0
500
#4B0082
600
#3C0068
700
#2D004E
800
#1E0034
900
#10001D
950
#090010

Color Harmonies & Palette Schemes

Complementary

#358000
Opposite 180° Contrast

Analogous -30°

#0B0080
Natural Harmony

Analogous +30°

#800075
Natural Harmony

Triadic +120°

#804A00
120° Balanced Triad

Triadic +240°

#00804A
120° Balanced Triad

Curated UI Design Pairings for Indigo

Favored by developer tooling, AI model interfaces, and cybersecurity platforms. Achieves AAA contrast against white text.

Pure White
#FFFFFF
AAA Accessible Text
Laser Cyan
#06B6D4
High-Tech Accent
Carbon Obsidian
#0B0F19
Deep Night Canvas
Soft Lilac
#DFCCF1
Muted Secondary Badge

Export Indigo Code Snippets

CSS Variable --color-indigo-color: #4B0082;
Tailwind Config 'indigo-color': '#4B0082'
Swift / SwiftUI Color(hex: "#4B0082")
JSON Design Token {"name": "Indigo", "hex": "#4B0082"}

Frequently Asked Questions About Indigo (#4B0082)

What is the exact HEX code for Indigo?

The exact HEX code for Indigo is #4B0082. In 8-digit hexadecimal (with 100% opacity), it is #4B0082FF. Its RGB decimal equivalent is rgb(75, 0, 130) and its HSL value is hsl(275deg, 100%, 25%).

What colors go best with Indigo in UI and web design?

Indigo pairs exceptionally well with Pure White (#FFFFFF), Laser Cyan (#06B6D4), Carbon Obsidian (#0B0F19), and Soft Lilac (#DFCCF1).

How do I use Indigo in CSS and Tailwind CSS?

In standard CSS, apply it directly via color: #4B0082; or background-color: #4B0082;. In Tailwind CSS, use arbitrary value syntax like bg-[#4b0082] or text-[#4b0082], or define it in your Tailwind v4 @theme block as --color-indigo-color: #4B0082;.

Is Indigo WCAG accessible for readable text?

Against a pure white background (#FFFFFF), Indigo achieves a contrast ratio of 12.95:1 (AAA). Against a pure black background (#000000), it achieves 1.62:1 (Fail). Check custom contrast pairings on Pikka's WCAG Contrast Checker.

Explore More Colors in the Dictionary

Browse our complete catalog of curated named colors, harmonic palettes, and accessible UI combinations.

Named Color Dictionary Interactive Color Wheel Tint & Shade Generator