Indigo color: hex code #4B0082
Indigo has the hex code #4B0082. It is a dark, vivid violet.
In the RGB color model it is made of 29.4% red, 0% green and 51% blue (75, 0, 130).
Its hue angle is 275°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 42% cyan, 100% magenta, 0% yellow and 49% black.
You can use it in CSS with the keyword indigo.
White text is the more readable choice on this background (contrast 12.95:1).
Indigo (#4B0082) color codes
| HEX | #4B0082 | |
|---|---|---|
| RGB | rgb(75, 0, 130) | |
| RGB percent | rgb(29.4%, 0%, 51%) | |
| HSL | hsl(275, 100%, 25%) | |
| HSV / HSB | hsv(275, 100%, 51%) | |
| CMYK | cmyk(42%, 100%, 0%, 49%) | |
| CIE LAB | lab(20.47, 51.69, -53.31) | |
| CIE LCH | lch(20.47, 74.25, 314.11) | |
| CIE XYZ | xyz(6.93, 3.108, 21.349) | |
| Decimal | 4915330 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Indigo, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #4B0082 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.95:1 | Pass | Pass | Pass |
| #4B0082 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.95:1 | Pass | Pass | Pass |
| Sample text | 1.62:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #4B0082 looks to people with the most common types of color vision deficiency.
#003185Protanopia
no red cones#003180Deuteranopia
no green cones#3e2e4aTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #4b0082; }
.text { color: #4b0082; }
.border { border: 2px solid #4b0082; }
.transparent { background-color: rgb(75 0 130 / 50%); }
.gradient { background: linear-gradient(to right, #4b0082, #820078); }
Similar colors
#4b0183Indigo Static#440099Space Battle Blue#4b1e87Occult#330077Galactic Federation#5b1e8bIntergalactic Settlement#540d6eVelvet Vortex#442288Galactic Civilization#301885Indiglow
See #4B0082 on its hex code page
Questions
- What color is #4B0082?
- #4B0082 is a dark, vivid violet known as Indigo. It belongs to the purple family of colors.
- What is the RGB value of Indigo?
- The RGB value is 75, 0, 130: 75 red, 0 green and 130 blue on a 0 to 255 scale.
- What is the complementary color of Indigo?
- The complementary color is #378200, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4B0082?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.95:1. WCAG asks for at least 4.5:1 for normal text.