← All gradients
35%How it works
UI

Hero Bold Purple

#4C1D95
#7C3AED
Text readability
Ui DarkBoldCool

Hero Bold Purple is a dark, bold and cool 2-colour linear gradient that runs from purple (#4C1D95) to purple (#7C3AED) 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 7.9:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #4C1D95, #7C3AED);
Tailwind
bg-gradient-to-br from-[#4C1D95] to-[#7C3AED]
Figma token
{
    "hero-bold-purple": {
        "value": "linear-gradient(135deg, #4C1D95 0%, #7C3AED 100%)",
        "type": "color"
    }
}

Hero Bold Purple gradient for SwiftUI, Flutter, Android and more

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

let heroBoldPurpleGradient = LinearGradient(
    colors: [
        Color(red: 0.298, green: 0.114, blue: 0.584),
        Color(red: 0.486, green: 0.227, blue: 0.929)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(heroBoldPurpleGradient)

Colours in the Hero Bold Purple gradient

StopNameHEXRGBHSL
1Purple#4C1D95rgb(76, 29, 149)hsl(264, 67%, 35%)
2Purple#7C3AEDrgb(124, 58, 237)hsl(262, 83%, 58%)

Hero Bold Purple gradient in use

Build something beautifulA hero section on the Hero Bold Purple gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Hero Bold Purple 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 Hero Bold Purple gradient?

The Hero Bold Purple gradient uses 2 colours: #4C1D95 and #7C3AED, at an angle of 135°.

How do I use the Hero Bold Purple gradient in CSS?

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

What text colour works on the Hero Bold Purple gradient?

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