Stormy Night to Wonka Purple Gradient
CSS
background: linear-gradient(90deg, #372354 0%, #4a2559 100%);
From Stormy Night (#372354) to Wonka Purple (#4A2559). The two hues are 18° 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 | |
|---|---|---|---|---|---|
| Stormy Night | #372354 | 55, 35, 84 | 264°, 41%, 23% | 35, 58, 0, 67 | |
| 25% (near Stormy Night) | #3C2455 | 60, 36, 85 | 269°, 40%, 24% | 29, 58, 0, 67 | |
| 50% (near Plunged Into Darkness) | #412457 | 65, 36, 87 | 274°, 41%, 24% | 25, 59, 0, 66 | |
| 75% (near Wonka Purple) | #452558 | 69, 37, 88 | 278°, 41%, 25% | 22, 58, 0, 65 | |
| Wonka Purple | #4A2559 | 74, 37, 89 | 283°, 41%, 25% | 17, 58, 0, 65 |
Halfway along, the gradient is #412457, closest to the named color Plunged Into Darkness. 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.11:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #372354, #4a2559) - Diagonal:
linear-gradient(135deg, #372354, #4a2559) - Radial, from the center out:
radial-gradient(circle, #372354, #4a2559) - Tailwind CSS:
bg-gradient-to-r from-[#372354] to-[#4a2559]
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 Stormy Night to Wonka Purple gradient?
It starts at #372354 (Stormy Night) and ends at #4A2559 (Wonka Purple), with #412457 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #372354, #4a2559) runs from Wonka Purple on the left to Stormy Night on the right.