Midnight Express

#21263a

Cool navy-violet for deep panels, less inky

Save
Share

About Midnight Express

Midnight Express feels like night-shift ink on a UI screen. It's not trying to vanish like , and it doesn't read as "almost black" like does. Compared to 's deeper, inkier calm, this one stays a touch more alive, with a cleaner purple thread through the darkness.

I use it when the interface needs dashboards and finance apps to look orderly, not swallowed. Think BI reporting surfaces, ledger-style tables, admin consoles for healthcare billing, and settings pages where selection states and secondary navigation have to stay legible without shouting. It's the the one you reach for when you want structure that still feels distinctly purple, not a gray tint or a near-black.

Pair it with cool neutrals and restrained accents. Warm backgrounds flatten the undertone fast, and if you push saturation nearby it stops feeling controlled and starts looking noisy.

Gradient preview

See how this color looks in an animated mesh gradient.

Conversions

Click any value to copy.

Need this programmatically? Color API

Code snippets

Copy this color into your project.

Contrast checker

WCAG 2.1 contrast ratios. AA requires 4.5:1 for normal text, 3:1 for large. AAA requires 7:1 / 4.5:1.

On White #ffffff

Aa
14.97:1AAA

On Gray 100 #f5f5f5

Aa
13.73:1AAA

On Gray 900 #18181b

Aa
1.18:1Fail

On Black #000000

Aa
1.40:1Fail

Variations

Shades

Darker variations, created by mixing toward black.

Tints

Lighter variations, created by mixing toward white.

Tones

Muted variations, created by reducing saturation.

Hues

Hue rotations around the color wheel.

Temperatures

Warm and cool shifts of this color.

Color harmonies

Complementary
Analogous
Triadic
Split Complementary
Tetradic

Suggested palettes

Palettes built around this color.

4 colors
3 colors
4 colors
4 colors

Community palettes

Published palettes that include this color.

Similar colors

#222831
#1b2431
#2c2a35

Create a gradient with Midnight Express

Open the generator with this color pre-loaded.

Start creating