Dusk to Sumptuous Purple Gradient
CSS
background: linear-gradient(90deg, #4e5481 0%, #604c81 100%);
From Dusk (#4E5481) to Sumptuous Purple (#604C81). 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 | |
|---|---|---|---|---|---|
| Dusk | #4E5481 | 78, 84, 129 | 233°, 25%, 41% | 40, 35, 0, 49 | |
| 25% (near Tangent Periwinkle) | #535281 | 83, 82, 129 | 241°, 22%, 41% | 36, 36, 0, 49 | |
| 50% (near Freshly Purpleized) | #575081 | 87, 80, 129 | 249°, 23%, 41% | 33, 38, 0, 49 | |
| 75% (near Freshly Purpleized) | #5C4E81 | 92, 78, 129 | 256°, 25%, 41% | 29, 40, 0, 49 | |
| Sumptuous Purple | #604C81 | 96, 76, 129 | 263°, 26%, 40% | 26, 41, 0, 49 |
Halfway along, the gradient is #575081, closest to the named color Freshly Purpleized. 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.02:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #4e5481, #604c81) - Diagonal:
linear-gradient(135deg, #4e5481, #604c81) - Radial, from the center out:
radial-gradient(circle, #4e5481, #604c81) - Tailwind CSS:
bg-gradient-to-r from-[#4e5481] to-[#604c81]
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 Dusk to Sumptuous Purple gradient?
It starts at #4E5481 (Dusk) and ends at #604C81 (Sumptuous Purple), with #575081 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #4e5481, #604c81) runs from Sumptuous Purple on the left to Dusk on the right.