#4C1D95
#7C3AED
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 →
background: linear-gradient(135deg, #4C1D95, #7C3AED);
bg-gradient-to-br from-[#4C1D95] to-[#7C3AED]
{
"hero-bold-purple": {
"value": "linear-gradient(135deg, #4C1D95 0%, #7C3AED 100%)",
"type": "color"
}
}
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)val heroBoldPurpleColors = listOf(Color(0xFF4C1D95), Color(0xFF7C3AED))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = heroBoldPurpleColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/hero-bold-purple_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#4C1D95"
android:endColor="#7C3AED"
android:type="linear" />
</shape>const heroBoldPurpleGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF4C1D95), Color(0xFF7C3AED)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: heroBoldPurpleGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#4C1D95', '#7C3AED']}
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="hero-bold-purple" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#4C1D95" />
<stop offset="100%" stop-color="#7C3AED" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#hero-bold-purple)" />
</svg>:root {
--hero-bold-purple-1: #4C1D95;
--hero-bold-purple-2: #7C3AED;
--hero-bold-purple-angle: 135deg;
--hero-bold-purple: linear-gradient(var(--hero-bold-purple-angle), var(--hero-bold-purple-1), var(--hero-bold-purple-2));
}
.hero {
background: var(--hero-bold-purple);
}$hero-bold-purple-1: #4C1D95;
$hero-bold-purple-2: #7C3AED;
$hero-bold-purple: linear-gradient(135deg, $hero-bold-purple-1, $hero-bold-purple-2);
@mixin hero-bold-purple-bg {
background: $hero-bold-purple-1;
background: $hero-bold-purple;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Purple | #4C1D95 | rgb(76, 29, 149) | hsl(264, 67%, 35%) |
| 2 | Purple | #7C3AED | rgb(124, 58, 237) | hsl(262, 83%, 58%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Hero Bold Purple gradient uses 2 colours: #4C1D95 and #7C3AED, at an angle of 135°.
Paste background: linear-gradient(135deg, #4C1D95, #7C3AED); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
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.