This midnight to charcoal to midnight radial gradient is an editable CSS color system generated with OKLCH-aware perceptual interpolation, multi-stop fallback compilation, and Tailwind CSS utility export. It preserves chroma during transitions, reducing muddy gray midpoints while giving developers production-ready CSS and designers precise visual control.

SEO gradient page

midnight to charcoal to midnight radial CSS gradient

Edit this gradient in the studio, copy production CSS, compare accessibility, and explore related color combinations generated from the same seed colors.

#280021#1f1500#31165e

Gradient guide

How to use this midnight to charcoal to midnight gradient

This radial gradient can be used as a hero background, dashboard card treatment, app shell backdrop, social visual, or landing page accent. The color sequence is parsed directly from the URL, which means the page can be shared, indexed, and revisited.

The export system creates a standard CSS fallback, a perceptual multi-stop fallback, and a modern OKLCH declaration where appropriate. That makes the output useful for production interfaces, not just screenshots or static inspiration boards.

Use the related-gradient matrix below to explore adjacent hues, lightness shifts, and route variations. Each link is generated deterministically so search crawlers and users always see stable, crawlable internal links.

Interactive editor

Edit this gradient

Physics Preview Workspace

Perceptual CSS gradients without muddy midpoints.

Build layered linear, radial, conic, and mesh gradients using OKLCH, LAB, HCL, easing curves, blend modes, and fallback compilers.

White text

17.27:1

WCAG AA friendly

Black text

1.23:1

Needs overlay

Pre-rendered CSS output

.prismforge-gradient {
  background: radial-gradient(circle at 50% 45%, #280021 0%, #1f1500 50%, #31165e 100%);
  background: radial-gradient(circle at 50% 45%, #280021 0%, #290020 4.5%, #2a001d 9.1%, #2c0017 13.6%, #2e000f 18.2%, #2e0205 22.7%, #2c0700 27.3%, #290c00 31.8%, #251100 36.4%, #221300 40.9%, #201500 45.5%, #1f1500 50%, #201500 54.5%, #241400 59.1%, #2b1200 63.6%, #350e00 68.2%, #3d080c 72.7%, #420521 77.3%, #410737 81.8%, #3d0d49 86.4%, #371256 90.9%, #33155c 95.5%, #31165e 100%);
  background: radial-gradient(circle at 50% 45% in oklch, oklch(18.89% 0.0835 336.31) 0%, oklch(20.30% 0.0415 86.18) 50%, oklch(28.68% 0.1197 294.81) 100%);
  background-blend-mode: normal;
}

Full-width inspiration gallery

120 mathematically tuned gradient collections.

Each preset links to an indexable dynamic route with deterministic related gradients, metadata, crawlable anchors, and editable OKLCH controls.