Night Fever to Purple Sultan Gradient
CSS
background: linear-gradient(90deg, #572e89 0%, #853682 100%);
From Night Fever (#572E89) to Purple Sultan (#853682). The two hues are 35° 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 | |
|---|---|---|---|---|---|
| Night Fever | #572E89 | 87, 46, 137 | 267°, 50%, 36% | 36, 66, 0, 46 | |
| 25% (near Purple Patch) | #633087 | 99, 48, 135 | 275°, 48%, 36% | 27, 64, 0, 47 | |
| 50% (near Galactic Grapevine) | #6E3286 | 110, 50, 134 | 283°, 46%, 36% | 18, 63, 0, 47 | |
| 75% (near Purple Sultan) | #7A3484 | 122, 52, 132 | 293°, 43%, 36% | 8, 61, 0, 48 | |
| Purple Sultan | #853682 | 133, 54, 130 | 302°, 42%, 37% | 0, 59, 2, 48 |
Halfway along, the gradient is #6E3286, closest to the named color Galactic Grapevine. 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.32:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #572e89, #853682) - Diagonal:
linear-gradient(135deg, #572e89, #853682) - Radial, from the center out:
radial-gradient(circle, #572e89, #853682) - Tailwind CSS:
bg-gradient-to-r from-[#572e89] to-[#853682]
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 Night Fever to Purple Sultan gradient?
It starts at #572E89 (Night Fever) and ends at #853682 (Purple Sultan), with #6E3286 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #572e89, #853682) runs from Purple Sultan on the left to Night Fever on the right.