Nightly Walk to Majesty Gradient
CSS
background: linear-gradient(90deg, #544563 0%, #673e6e 100%);
From Nightly Walk (#544563) to Majesty (#673E6E). The two hues are 21° 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 | |
|---|---|---|---|---|---|
| Nightly Walk | #544563 | 84, 69, 99 | 270°, 18%, 33% | 15, 30, 0, 61 | |
| 25% (near Haunted Candelabra) | #594366 | 89, 67, 102 | 278°, 21%, 33% | 13, 34, 0, 60 | |
| 50% (near Haunted Candelabra) | #5E4269 | 94, 66, 105 | 283°, 23%, 34% | 10, 37, 0, 59 | |
| 75% (near Majesty) | #62406B | 98, 64, 107 | 287°, 25%, 34% | 8, 40, 0, 58 | |
| Majesty | #673E6E | 103, 62, 110 | 291°, 28%, 34% | 6, 44, 0, 57 |
Halfway along, the gradient is #5E4269, closest to the named color Haunted Candelabra. 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.03:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #544563, #673e6e) - Diagonal:
linear-gradient(135deg, #544563, #673e6e) - Radial, from the center out:
radial-gradient(circle, #544563, #673e6e) - Tailwind CSS:
bg-gradient-to-r from-[#544563] to-[#673e6e]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Nightly Walk to Majesty gradient?
It starts at #544563 (Nightly Walk) and ends at #673E6E (Majesty), with #5E4269 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #544563, #673e6e) runs from Majesty on the left to Nightly Walk on the right.