Majestic Magic to Royal Robe Gradient
CSS
background: linear-gradient(90deg, #555570 0%, #614a7b 100%);
From Majestic Magic (#555570) to Royal Robe (#614A7B). The two hues are 28° 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 | |
|---|---|---|---|---|---|
| Majestic Magic | #555570 | 85, 85, 112 | 240°, 14%, 39% | 24, 24, 0, 56 | |
| 25% (near Majestic Magic) | #585273 | 88, 82, 115 | 251°, 17%, 39% | 23, 29, 0, 55 | |
| 50% (near Majestic Magic) | #5B5076 | 91, 80, 118 | 257°, 19%, 39% | 23, 32, 0, 54 | |
| 75% (near Royal Robe) | #5E4D78 | 94, 77, 120 | 264°, 22%, 39% | 22, 36, 0, 53 | |
| Royal Robe | #614A7B | 97, 74, 123 | 268°, 25%, 39% | 21, 40, 0, 52 |
Halfway along, the gradient is #5B5076, closest to the named color Majestic Magic. 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.05:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #555570, #614a7b) - Diagonal:
linear-gradient(135deg, #555570, #614a7b) - Radial, from the center out:
radial-gradient(circle, #555570, #614a7b) - Tailwind CSS:
bg-gradient-to-r from-[#555570] to-[#614a7b]
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 Majestic Magic to Royal Robe gradient?
It starts at #555570 (Majestic Magic) and ends at #614A7B (Royal Robe), with #5B5076 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #555570, #614a7b) runs from Royal Robe on the left to Majestic Magic on the right.