← All gradients
35%How it works
Seasonal

New Year’s Eve Midnight

#0B0B45
#3A0CA3
#F72585
Text readability
Seasonal DarkBold

New Year’s Eve Midnight is a dark and bold 3-colour linear gradient that runs from deep blue (#0B0B45) through purple (#3A0CA3) to pink (#F72585) at 135°. It suits dark-mode interfaces and footers and banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 10.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #0B0B45, #3A0CA3, #F72585);
Tailwind
bg-gradient-to-br from-[#0B0B45] via-[#3A0CA3] to-[#F72585]
Figma token
{
    "new-year-8217-s-eve-midnight": {
        "value": "linear-gradient(135deg, #0B0B45 0%, #3A0CA3 50%, #F72585 100%)",
        "type": "color"
    }
}

New Year’s Eve Midnight gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let newYear8217SEveMidnightGradient = LinearGradient(
    colors: [
        Color(red: 0.043, green: 0.043, blue: 0.271),
        Color(red: 0.227, green: 0.047, blue: 0.639),
        Color(red: 0.969, green: 0.145, blue: 0.522)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(newYear8217SEveMidnightGradient)

Colours in the New Year’s Eve Midnight gradient

StopNameHEXRGBHSL
1Deep blue#0B0B45rgb(11, 11, 69)hsl(240, 73%, 16%)
2Purple#3A0CA3rgb(58, 12, 163)hsl(258, 86%, 34%)
3Pink#F72585rgb(247, 37, 133)hsl(333, 93%, 56%)

New Year’s Eve Midnight gradient in use

Build something beautifulA hero section on the New Year’s Eve Midnight gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

New Year’s Eve Midnight gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the New Year’s Eve Midnight gradient?

The New Year’s Eve Midnight gradient uses 3 colours: #0B0B45, #3A0CA3 and #F72585, at an angle of 135°.

How do I use the New Year’s Eve Midnight gradient in CSS?

Paste background: linear-gradient(135deg, #0B0B45, #3A0CA3, #F72585); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the New Year’s Eve Midnight gradient?

White text has the best contrast, at 10.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.