#0B0B0F
#1F1235
#5B2A86
Halloween Black Cat is a cool and dark 3-colour linear gradient that runs from near-black (#0B0B0F) through charcoal (#1F1235) to purple (#5B2A86) at 160°. It suits dashboards and SaaS landing pages and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 15.9:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #0B0B0F, #1F1235, #5B2A86);
bg-[linear-gradient(160deg,#0B0B0F,#1F1235,#5B2A86)]
{
"halloween-black-cat": {
"value": "linear-gradient(160deg, #0B0B0F 0%, #1F1235 50%, #5B2A86 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let halloweenBlackCatGradient = LinearGradient(
colors: [
Color(red: 0.043, green: 0.043, blue: 0.059),
Color(red: 0.122, green: 0.071, blue: 0.208),
Color(red: 0.357, green: 0.165, blue: 0.525)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(halloweenBlackCatGradient)val halloweenBlackCatColors = listOf(Color(0xFF0B0B0F), Color(0xFF1F1235), Color(0xFF5B2A86))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = halloweenBlackCatColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/halloween-black-cat_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#0B0B0F"
android:centerColor="#1F1235"
android:endColor="#5B2A86"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const halloweenBlackCatGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF0B0B0F), Color(0xFF1F1235), Color(0xFF5B2A86)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: halloweenBlackCatGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#0B0B0F', '#1F1235', '#5B2A86']}
start={{ x: 0.318, y: 0 }}
end={{ x: 0.682, 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="halloween-black-cat" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#0B0B0F" />
<stop offset="50%" stop-color="#1F1235" />
<stop offset="100%" stop-color="#5B2A86" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#halloween-black-cat)" />
</svg>:root {
--halloween-black-cat-1: #0B0B0F;
--halloween-black-cat-2: #1F1235;
--halloween-black-cat-3: #5B2A86;
--halloween-black-cat-angle: 160deg;
--halloween-black-cat: linear-gradient(var(--halloween-black-cat-angle), var(--halloween-black-cat-1), var(--halloween-black-cat-2), var(--halloween-black-cat-3));
}
.hero {
background: var(--halloween-black-cat);
}$halloween-black-cat-1: #0B0B0F;
$halloween-black-cat-2: #1F1235;
$halloween-black-cat-3: #5B2A86;
$halloween-black-cat: linear-gradient(160deg, $halloween-black-cat-1, $halloween-black-cat-2, $halloween-black-cat-3);
@mixin halloween-black-cat-bg {
background: $halloween-black-cat-1;
background: $halloween-black-cat;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Near-black | #0B0B0F | rgb(11, 11, 15) | hsl(240, 15%, 5%) |
| 2 | Charcoal | #1F1235 | rgb(31, 18, 53) | hsl(262, 49%, 14%) |
| 3 | Purple | #5B2A86 | rgb(91, 42, 134) | hsl(272, 52%, 35%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Halloween Black Cat gradient uses 3 colours: #0B0B0F, #1F1235 and #5B2A86, at an angle of 160°.
Paste background: linear-gradient(160deg, #0B0B0F, #1F1235, #5B2A86); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 15.9:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.