Indiglow to Extraviolet Gradient
CSS
background: linear-gradient(90deg, #301885 0%, #661188 100%);
From Indiglow (#301885) to Extraviolet (#661188). The two hues are 30° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Indiglow | #301885 | 48, 24, 133 | 253°, 69%, 31% | 64, 82, 0, 48 | |
| 25% (near Galactic Civilization) | #3E1686 | 62, 22, 134 | 261°, 72%, 31% | 54, 84, 0, 47 | |
| 50% (near Occult) | #4B1587 | 75, 21, 135 | 268°, 73%, 31% | 44, 84, 0, 47 | |
| 75% (near Intergalactic Settlement) | #591387 | 89, 19, 135 | 276°, 75%, 30% | 34, 86, 0, 47 | |
| Extraviolet | #661188 | 102, 17, 136 | 283°, 78%, 30% | 25, 88, 0, 47 |
Halfway along, the gradient is #4B1587, closest to the named color Occult. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.25:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #301885, #661188) - Diagonal:
linear-gradient(135deg, #301885, #661188) - Radial, from the center out:
radial-gradient(circle, #301885, #661188) - Tailwind CSS:
bg-gradient-to-r from-[#301885] to-[#661188]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Indiglow to Extraviolet gradient?
It starts at #301885 (Indiglow) and ends at #661188 (Extraviolet), with #4B1587 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #301885, #661188) runs from Extraviolet on the left to Indiglow on the right.