Indigo (#4B0082)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 12.95:1 — vs black: 1.62:1

Color values

  • HEX #4B0082
  • RGB rgb(75, 0, 130)
  • HSL hsl(274, 100%, 50%)
  • CMYK cmyk( 42.31, 100, 0, 49.02 )
  • Websafe #330099

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #4B0082 based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Indigo
#4B0082 Base
#378200
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Indigo
#4B0082 Base
#0A0082
#820078
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Indigo
#4B0082 Base
#824B00
#00824B
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Indigo
#4B0082 Base
#788200
#00820A
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Indigo
#4B0082 Base
#820A00
#378200
#007882
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Indigo
#4B0082 Base
#0F001A
#1F0036
#330059
#6300AB
#7700CF
#9F1CFF
Shades & Tints

Darker shades and lighter tints of Indigo, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#0F001A
#1B002E
#270043
#330058
#3F006D
Indigo #4B0082 Base
#7400C9
#9A11FF
#B858FF
#D69FFF
#F4E6FF
CSS & SCSS Snippets

Ready-to-use code snippets for #4B0082. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #4B0082;
}

/* Text */
.element {
    color: #4B0082;
}

/* Border */
.element {
    border: 1px solid #4B0082;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #4B0082,
        #6FFF05
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #4B0082,
        #6FFF05
    );
}
SCSS Variable
// SCSS variable
$indigo: #4B0082;

// With RGB channels (useful for rgba() usage)
$indigo-r: 75;
$indigo-g: 0;
$indigo-b: 130;

// Usage
.element {
    background-color: $indigo;
    color: rgba($indigo-r, $indigo-g, $indigo-b, 0.8);
}
Color Blindness Simulation

How Indigo appears to people with different types of color vision deficiency.

Normal Vision #4B0082 How the color appears with full color vision.
Deuteranopia #272782 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #151582 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #392F2F Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #313131 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Indigo ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Indigo #4B0082 Base
Persian Indigo #32127A ΔE 4.53
Deep Violet #330066 ΔE 5.38
Spanish Violet #4C2882 ΔE 6.08
Ultramarine #120A8F ΔE 7.20

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.