Vienna Roast to 3AM Breakup Gradient
CSS
background: linear-gradient(90deg, #330022 0%, #330404 100%);
From Vienna Roast (#330022) to 3AM Breakup (#330404). The two hues are 40° 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 | |
|---|---|---|---|---|---|
| Vienna Roast | #330022 | 51, 0, 34 | 320°, 100%, 10% | 0, 100, 33, 80 | |
| 25% (near Vienna Roast) | #33011B | 51, 1, 27 | 329°, 96%, 10% | 0, 98, 47, 80 | |
| 50% (near 3AM Breakup) | #330213 | 51, 2, 19 | 339°, 92%, 10% | 0, 96, 63, 80 | |
| 75% (near 3AM Breakup) | #33030C | 51, 3, 12 | 349°, 89%, 11% | 0, 94, 76, 80 | |
| 3AM Breakup | #330404 | 51, 4, 4 | 0°, 85%, 11% | 0, 92, 92, 80 |
Halfway along, the gradient is #330213, closest to the named color 3AM Breakup. 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.00:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #330022, #330404) - Diagonal:
linear-gradient(135deg, #330022, #330404) - Radial, from the center out:
radial-gradient(circle, #330022, #330404) - Tailwind CSS:
bg-gradient-to-r from-[#330022] to-[#330404]
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 Vienna Roast to 3AM Breakup gradient?
It starts at #330022 (Vienna Roast) and ends at #330404 (3AM Breakup), with #330213 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #330022, #330404) runs from 3AM Breakup on the left to Vienna Roast on the right.