Huebook

Melanzane to Aubergine Gradient

CSS

background: linear-gradient(90deg, #342931 0%, #372528 100%);

From Melanzane (#342931) to Aubergine (#372528). The two hues are 34° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Melanzane#34293152, 41, 49316°, 12%, 18%0, 21, 6, 80
25% (near Melanzane)#35282F53, 40, 47328°, 14%, 18%0, 25, 11, 79
50% (near Smoky Charcoal)#36272D54, 39, 45336°, 16%, 18%0, 28, 17, 79
75% (near Aubergine)#36262A54, 38, 42345°, 17%, 18%0, 30, 22, 79
Aubergine#37252855, 37, 40350°, 20%, 18%0, 33, 27, 78

Halfway along, the gradient is #36272D, closest to the named color Smoky Charcoal. 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.03:1, so the change is gentle.

Other ways to use it

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 Melanzane to Aubergine gradient?

It starts at #342931 (Melanzane) and ends at #372528 (Aubergine), with #36272D in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #342931, #372528) runs from Aubergine on the left to Melanzane on the right.