Back in Black to Violet Void Gradient
CSS
background: linear-gradient(90deg, #16141c 0%, #1a161d 100%);
From Back in Black (#16141C) to Violet Void (#1A161D). The two hues are 19° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Back in Black | #16141C | 22, 20, 28 | 255°, 17%, 9% | 21, 29, 0, 89 | |
| 25% (near Back in Black) | #17151C | 23, 21, 28 | 257°, 14%, 10% | 18, 25, 0, 89 | |
| 50% (near Eigengrau) | #18151D | 24, 21, 29 | 263°, 16%, 10% | 17, 28, 0, 89 | |
| 75% (near Violet Void) | #19161D | 25, 22, 29 | 266°, 14%, 10% | 14, 24, 0, 89 | |
| Violet Void | #1A161D | 26, 22, 29 | 274°, 14%, 10% | 10, 24, 0, 89 |
Halfway along, the gradient is #18151D, closest to the named color Eigengrau. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.02:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #16141c, #1a161d) - Diagonal:
linear-gradient(135deg, #16141c, #1a161d) - Radial, from the center out:
radial-gradient(circle, #16141c, #1a161d) - Tailwind CSS:
bg-gradient-to-r from-[#16141c] to-[#1a161d]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Back in Black to Violet Void gradient?
It starts at #16141C (Back in Black) and ends at #1A161D (Violet Void), with #18151D in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #16141c, #1a161d) runs from Violet Void on the left to Back in Black on the right.