Dark Mode UI colour palettes

Dark mode palettes need a clear hierarchy of near-black surfaces plus one bright accent for focus. Test text contrast at each level and avoid pure black, which can look harsh on OLED screens.

How to use dark mode ui palettes

Dark mode UI palettes are surface systems first: a stack of near-black greys, then one bright accent for focus states. Pure #000000 often looks harsh on OLED screens and makes shadows impossible, so start from a slightly lifted ink.

Raise elevation by lightening the surface a few percent rather than adding white borders everywhere. Keep the accent rare—links, toggles, active tabs—so the interface stays calm at night.

Always re-check text and icon contrast on every surface step; a colour that passes on the darkest base can fail on the elevated card.

Practical tips

  • Use three to four surface steps (base, raised, overlay, input) before picking an accent.
  • Prefer #0B0B0F-style inks over pure black for large backgrounds.
  • Retest WCAG contrast for body text on each elevated surface, not only the page root.

4 ready-made dark mode ui palettes