← All gradients
35%How it works
UI

Premium Black

#000000
#18181B
Text readability
Ui DarkNeutral

Premium Black is a dark and neutral 2-colour linear gradient that runs from near-black (#000000) to near-black (#18181B) at 135°. It suits dark-mode interfaces and footers and subtle surfaces and app backgrounds. White text reads best on it, at a contrast ratio of 19.5:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #000000, #18181B);
Tailwind
bg-gradient-to-br from-[#000000] to-[#18181B]
Figma token
{
    "premium-black": {
        "value": "linear-gradient(135deg, #000000 0%, #18181B 100%)",
        "type": "color"
    }
}

Premium Black gradient for SwiftUI, Flutter, Android and more

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

let premiumBlackGradient = LinearGradient(
    colors: [
        Color(red: 0, green: 0, blue: 0),
        Color(red: 0.094, green: 0.094, blue: 0.106)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(premiumBlackGradient)

Colours in the Premium Black gradient

StopNameHEXRGBHSL
1Near-black#000000rgb(0, 0, 0)hsl(0, 0%, 0%)
2Near-black#18181Brgb(24, 24, 27)hsl(240, 6%, 10%)

Premium Black gradient in use

Build something beautifulA hero section on the Premium Black gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Premium Black 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 Premium Black gradient?

The Premium Black gradient uses 2 colours: #000000 and #18181B, at an angle of 135°.

How do I use the Premium Black gradient in CSS?

Paste background: linear-gradient(135deg, #000000, #18181B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Premium Black gradient?

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