Dark Dreams to Elegant Purple Gown Gradient
CSS
background: linear-gradient(90deg, #332266 0%, #552367 100%);
From Dark Dreams (#332266) to Elegant Purple Gown (#552367). The two hues are 29° 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 | |
|---|---|---|---|---|---|
| Dark Dreams | #332266 | 51, 34, 102 | 255°, 50%, 27% | 50, 67, 0, 60 | |
| 25% (near Fading Horizon) | #3C2266 | 60, 34, 102 | 263°, 50%, 27% | 41, 67, 0, 60 | |
| 50% (near Fading Horizon) | #442367 | 68, 35, 103 | 269°, 49%, 27% | 34, 66, 0, 60 | |
| 75% (near Elegant Purple Gown) | #4D2367 | 77, 35, 103 | 277°, 49%, 27% | 25, 66, 0, 60 | |
| Elegant Purple Gown | #552367 | 85, 35, 103 | 284°, 49%, 27% | 17, 66, 0, 60 |
Halfway along, the gradient is #442367, closest to the named color Fading Horizon. 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, #332266, #552367) - Diagonal:
linear-gradient(135deg, #332266, #552367) - Radial, from the center out:
radial-gradient(circle, #332266, #552367) - Tailwind CSS:
bg-gradient-to-r from-[#332266] to-[#552367]
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 Dark Dreams to Elegant Purple Gown gradient?
It starts at #332266 (Dark Dreams) and ends at #552367 (Elegant Purple Gown), with #442367 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #332266, #552367) runs from Elegant Purple Gown on the left to Dark Dreams on the right.