Voldemort to Cosmic Explorer Gradient
CSS
background: linear-gradient(90deg, #2d135f 0%, #551155 100%);
From Voldemort (#2D135F) to Cosmic Explorer (#551155). The two hues are 39° 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 | |
|---|---|---|---|---|---|
| Voldemort | #2D135F | 45, 19, 95 | 261°, 67%, 22% | 53, 80, 0, 63 | |
| 25% (near Wicked Purple) | #37135D | 55, 19, 93 | 269°, 66%, 22% | 41, 80, 0, 64 | |
| 50% (near Wicked Purple) | #41125A | 65, 18, 90 | 279°, 67%, 21% | 28, 80, 0, 65 | |
| 75% (near Cosmic Explorer) | #4B1258 | 75, 18, 88 | 289°, 66%, 21% | 15, 80, 0, 65 | |
| Cosmic Explorer | #551155 | 85, 17, 85 | 300°, 67%, 20% | 0, 80, 0, 67 |
Halfway along, the gradient is #41125A, closest to the named color Wicked Purple. 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.17:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #2d135f, #551155) - Diagonal:
linear-gradient(135deg, #2d135f, #551155) - Radial, from the center out:
radial-gradient(circle, #2d135f, #551155) - Tailwind CSS:
bg-gradient-to-r from-[#2d135f] to-[#551155]
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 Voldemort to Cosmic Explorer gradient?
It starts at #2D135F (Voldemort) and ends at #551155 (Cosmic Explorer), with #41125A in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #2d135f, #551155) runs from Cosmic Explorer on the left to Voldemort on the right.