Space Colonisation to Wicked Purple Gradient
CSS
background: linear-gradient(90deg, #150f5b 0%, #37115c 100%);
From Space Colonisation (#150F5B) to Wicked Purple (#37115C). The two hues are 26° 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 | |
|---|---|---|---|---|---|
| Space Colonisation | #150F5B | 21, 15, 91 | 245°, 72%, 21% | 77, 84, 0, 64 | |
| 25% (near Space Colonisation) | #1E105B | 30, 16, 91 | 251°, 70%, 21% | 67, 82, 0, 64 | |
| 50% (near Voldemort) | #26105C | 38, 16, 92 | 257°, 70%, 21% | 59, 83, 0, 64 | |
| 75% (near Voldemort) | #2F115C | 47, 17, 92 | 264°, 69%, 21% | 49, 82, 0, 64 | |
| Wicked Purple | #37115C | 55, 17, 92 | 270°, 69%, 21% | 40, 82, 0, 64 |
Halfway along, the gradient is #26105C, closest to the named color Voldemort. 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.12:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #150f5b, #37115c) - Diagonal:
linear-gradient(135deg, #150f5b, #37115c) - Radial, from the center out:
radial-gradient(circle, #150f5b, #37115c) - Tailwind CSS:
bg-gradient-to-r from-[#150f5b] to-[#37115c]
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 Space Colonisation to Wicked Purple gradient?
It starts at #150F5B (Space Colonisation) and ends at #37115C (Wicked Purple), with #26105C in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #150f5b, #37115c) runs from Wicked Purple on the left to Space Colonisation on the right.