Black and Purple Gradient
CSS GradientThe black and purple gradient is crafted with 5 colors (#000000, #1F0F2E, #3F1F5C, #6A34A3, #9B4FE0). Ready-to-use linear, radial, and conic CSS rules for modern web and mobile apps.

|
#000000
#1F0F2E
#3F1F5C
#6A34A3
#9B4FE0
1. Gradient Color Stops
| Swatch | HEX | RGB | HSL | CMYK | OKLCH |
|---|---|---|---|---|---|
#000000 | 0, 0, 0 | 0°, 0%, 0% | 0%, 0%, 0%, 100% | oklch(0.000 0.000 0) | |
#1F0F2E | 31, 15, 46 | 271°, 51%, 12% | 33%, 67%, 0%, 82% | oklch(0.209 0.061 306) | |
#3F1F5C | 63, 31, 92 | 271°, 50%, 24% | 32%, 66%, 0%, 64% | oklch(0.316 0.106 305) | |
#6A34A3 | 106, 52, 163 | 269°, 52%, 42% | 35%, 68%, 0%, 36% | oklch(0.454 0.171 302) | |
#9B4FE0 | 155, 79, 224 | 271°, 70%, 59% | 31%, 65%, 0%, 12% | oklch(0.589 0.213 305) |
2. Gradient Variations & Styles
Linear Gradient
Radial Gradient
Conic Gradient
3. CSS Code & Declarations
Linear Gradient
background: linear-gradient(to right, #000000, #1F0F2E, #3F1F5C, #6A34A3, #9B4FE0);
Radial Gradient
background: radial-gradient(circle, #000000, #1F0F2E, #3F1F5C, #6A34A3, #9B4FE0);
Conic Gradient
background: conic-gradient(from 180deg at 50% 50%, #000000, #1F0F2E, #3F1F5C, #6A34A3, #9B4FE0);
Tailwind CSS
bg-gradient-to-r from-[#000000] to-[#9B4FE0]
SCSS Variable
$gradient-black-and-purple-gradient: linear-gradient(to right, #000000, #1F0F2E, #3F1F5C, #6A34A3, #9B4FE0);
4. Stop Accessibility & Contrast
#000000Stop 1
On White:21.00:1
On Black:1.00:1
WCAG Pass
#1F0F2EStop 2
On White:18.01:1
On Black:1.17:1
WCAG Pass
#3F1F5CStop 3
On White:13.45:1
On Black:1.56:1
WCAG Pass
#6A34A3Stop 4
On White:7.98:1
On Black:2.63:1
WCAG Pass
#9B4FE0Stop 5
On White:4.58:1
On Black:4.59:1
WCAG Pass
5. UI Preview with Gradient
Card Header
Black and Purple Gradient Banner
Stunning backgrounds for hero sections, marketing callouts, and modern card containers.
Modern Dark Mode
Gradient Glow
Use vibrant gradients as high-conversion button fills, text-gradients, or active focus rings.
Text Gradient
Similar Gradients
Gradient Ideas
About Black and Purple Gradient
Gradient Name
Black and Purple Gradient
Color Stops
5 Colors
First Color
#000000
End Color
#9B4FE0
Color Swatches