Royal Purple

Customize and copy the CSS

Code

background: #4B0082;
background: linear-gradient(135deg, #4B0082 0%, #8B008B 100%);

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Royal Purple

Starting from #4B0082 and finishing on #8B008B, Royal Purple is a cool purple gradient. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #6A028A.

Both colors are deep (34% and 45% lightness), with an average look that is highly saturated. The hue travels about 27° around the color wheel, a gentle shift that stays easy on the eye.

It suits premium-feeling hero sections and AI-product branding. White text keeps at least 8.4:1 contrast across every stop, which passes WCAG AA for body text.

The dark tone works well as a full-page or dark-mode background. Try the radial or conic shape for a glow effect, or flip the direction with the reverse button.

Royal Purple gradient: #4B0082, #8B008B

Purple color palettes

See all