Starlit Night to Meteorite Gradient
CSS
background: linear-gradient(90deg, #3b476b 0%, #4a3b6a 100%);
From Starlit Night (#3B476B) to Meteorite (#4A3B6A). The two hues are 34° 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 | |
|---|---|---|---|---|---|
| Starlit Night | #3B476B | 59, 71, 107 | 225°, 29%, 33% | 45, 34, 0, 58 | |
| 25% (near Starlit Night) | #3F446B | 63, 68, 107 | 233°, 26%, 33% | 41, 36, 0, 58 | |
| 50% (near Genie) | #43416B | 67, 65, 107 | 243°, 24%, 34% | 37, 39, 0, 58 | |
| 75% (near Meteorite) | #463E6A | 70, 62, 106 | 251°, 26%, 33% | 34, 42, 0, 58 | |
| Meteorite | #4A3B6A | 74, 59, 106 | 259°, 28%, 32% | 30, 44, 0, 58 |
Halfway along, the gradient is #43416B, closest to the named color Genie. 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.08:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #3b476b, #4a3b6a) - Diagonal:
linear-gradient(135deg, #3b476b, #4a3b6a) - Radial, from the center out:
radial-gradient(circle, #3b476b, #4a3b6a) - Tailwind CSS:
bg-gradient-to-r from-[#3b476b] to-[#4a3b6a]
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 Starlit Night to Meteorite gradient?
It starts at #3B476B (Starlit Night) and ends at #4A3B6A (Meteorite), with #43416B in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #3b476b, #4a3b6a) runs from Meteorite on the left to Starlit Night on the right.