Huebook

Royalty to Purple Ink Gradient

CSS

background: linear-gradient(90deg, #5930a9 0%, #9a2ca0 100%);

From Royalty (#5930A9) to Purple Ink (#9A2CA0). The two hues are 37° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Royalty#5930A989, 48, 169260°, 56%, 43%47, 72, 0, 34
25% (near Purple Heart)#692FA7105, 47, 167269°, 56%, 42%37, 72, 0, 35
50% (near Purple Pristine)#7A2EA5122, 46, 165278°, 56%, 41%26, 72, 0, 35
75% (near Pleasant Purple)#8A2DA2138, 45, 162288°, 57%, 41%15, 72, 0, 36
Purple Ink#9A2CA0154, 44, 160297°, 57%, 40%4, 72, 0, 37

Halfway along, the gradient is #7A2EA5, closest to the named color Purple Pristine. 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.34: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 Royalty to Purple Ink gradient?

It starts at #5930A9 (Royalty) and ends at #9A2CA0 (Purple Ink), with #7A2EA5 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #5930a9, #9a2ca0) runs from Purple Ink on the left to Royalty on the right.