#0B0B0F
#12131A
#1C1D26
#2A2C3A
#7C5CFF
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.
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.