Huebook

Wonka Purple to Murasaki Gradient

CSS

background: linear-gradient(90deg, #4a2559 0%, #4f284b 100%);

From Wonka Purple (#4A2559) to Murasaki (#4F284B). The two hues are 23° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Wonka Purple#4A255974, 37, 89283°, 41%, 25%17, 58, 0, 65
25% (near Wonka Purple)#4B265675, 38, 86286°, 39%, 24%13, 56, 0, 66
50% (near Murasaki)#4D275277, 39, 82293°, 36%, 24%6, 52, 0, 68
75% (near Murasaki)#4E274F78, 39, 79299°, 34%, 23%1, 51, 0, 69
Murasaki#4F284B79, 40, 75306°, 33%, 23%0, 49, 5, 69

Halfway along, the gradient is #4D2752, closest to the named color Murasaki. 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

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 Wonka Purple to Murasaki gradient?

It starts at #4A2559 (Wonka Purple) and ends at #4F284B (Murasaki), with #4D2752 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #4a2559, #4f284b) runs from Murasaki on the left to Wonka Purple on the right.