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
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.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#4B0082
Base
#378200
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#4B0082
Base
#0A0082
#820078
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#4B0082
Base
#824B00
#00824B
Two colors flanking the complement — high contrast with less tension than full complementary.
#4B0082
Base
#788200
#00820A
Four colors at 90° intervals — rich variety, best when one color dominates.
#4B0082
Base
#820A00
#378200
#007882
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#4B0082
Base
#0F001A
#1F0036
#330059
#6300AB
#7700CF
#9F1CFF
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
#4B0082
Base
#7400C9
#9A11FF
#B858FF
#D69FFF
#F4E6FF
Ready-to-use code snippets for #4B0082. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #4B0082;
}
/* Text */
.element {
color: #4B0082;
}
/* Border */
.element {
border: 1px solid #4B0082;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#4B0082,
#6FFF05
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#4B0082,
#6FFF05
);
}
// 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);
}
How Indigo appears to people with different types of color vision deficiency.
#4B0082
How the color appears with full color vision.
#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.
#151582
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#392F2F
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#313131
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.