Galaxy Gradient
CSS GradientThe galaxy gradient is crafted with 5 colors (#050414, #1B0F3B, #4A1A6B, #9C2D8E, #E85DA0). Ready-to-use linear, radial, and conic CSS rules for modern web and mobile apps.

|
#050414
#1B0F3B
#4A1A6B
#9C2D8E
#E85DA0
1. Gradient Color Stops
| Swatch | HEX | RGB | HSL | CMYK | OKLCH |
|---|---|---|---|---|---|
#050414 | 5, 4, 20 | 244°, 67%, 5% | 75%, 80%, 0%, 92% | oklch(0.122 0.038 283) | |
#1B0F3B | 27, 15, 59 | 256°, 59%, 15% | 54%, 75%, 0%, 77% | oklch(0.216 0.080 291) | |
#4A1A6B | 74, 26, 107 | 276°, 61%, 26% | 31%, 76%, 0%, 58% | oklch(0.336 0.135 308) | |
#9C2D8E | 156, 45, 142 | 308°, 55%, 39% | 0%, 71%, 9%, 39% | oklch(0.502 0.182 333) | |
#E85DA0 | 232, 93, 160 | 331°, 75%, 64% | 0%, 60%, 31%, 9% | oklch(0.675 0.184 353) |
2. Gradient Variations & Styles
Linear Gradient
Radial Gradient
Conic Gradient
3. CSS Code & Declarations
Linear Gradient
background: linear-gradient(to right, #050414, #1B0F3B, #4A1A6B, #9C2D8E, #E85DA0);
Radial Gradient
background: radial-gradient(circle, #050414, #1B0F3B, #4A1A6B, #9C2D8E, #E85DA0);
Conic Gradient
background: conic-gradient(from 180deg at 50% 50%, #050414, #1B0F3B, #4A1A6B, #9C2D8E, #E85DA0);
Tailwind CSS
bg-gradient-to-r from-[#050414] to-[#E85DA0]
SCSS Variable
$gradient-galaxy-gradient: linear-gradient(to right, #050414, #1B0F3B, #4A1A6B, #9C2D8E, #E85DA0);
4. Stop Accessibility & Contrast
#050414Stop 1
On White:20.31:1
On Black:1.03:1
WCAG Pass
#1B0F3BStop 2
On White:17.83:1
On Black:1.18:1
WCAG Pass
#4A1A6BStop 3
On White:12.72:1
On Black:1.65:1
WCAG Pass
#9C2D8EStop 4
On White:6.60:1
On Black:3.18:1
WCAG Pass
#E85DA0Stop 5
On White:3.23:1
On Black:6.50:1
WCAG Pass
5. UI Preview with Gradient
Card Header
Galaxy Gradient Banner
Stunning backgrounds for hero sections, marketing callouts, and modern card containers.
Modern Dark Mode
Gradient Glow
Use vibrant gradients as high-conversion button fills, text-gradients, or active focus rings.
Text Gradient
Similar Gradients
Gradient Ideas
About Galaxy Gradient
Gradient Name
Galaxy Gradient
Color Stops
5 Colors
First Color
#050414
End Color
#E85DA0
Color Swatches