Midnight Ink

Customize and copy the CSS

Code

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

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Midnight Ink

Midnight Ink blends two colors, starting at #4B0082 and ending at #0047AB. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #3A299C.

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

It suits creative tools, music and gaming interfaces. White text keeps at least 8.4:1 contrast across every stop, which passes WCAG AA for body text.

Use this dark gradient as a full-bleed background or a dark-mode surface. Switch to radial for a spotlight look, or reverse it to move the lighter end to the other corner.

Midnight Ink gradient: #4B0082, #0047AB

Purple color palettes

See all