Midnight Ink
Customize and copy the CSS
Code
background: #4B0082;
background: linear-gradient(135deg, #4B0082 0%, #0047AB 100%);Color stops
| Stop | Position | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|---|
| Stop 1 | 0% | ||||
| Stop 2 | 100% |
Save image
Image size
Similar gradients
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.
