Dark palette architecture: layers and depth
The foundation of a functional dark palette is not a single dark color but a system of dark tones that create visual depth through subtle lightness variation. An effective dark UI palette typically has 4-6 distinct surface levels: the darkest background (usually not pure black — pure black is visually harsh and creates extreme contrast with any lighter element), a slightly lighter background for elevated surfaces (cards, modals, panels), a further step for interactive element backgrounds, a border/separator level, and sometimes an emphasized surface for tooltips or highest-elevation elements. This layered system is how dark mode interfaces create visual hierarchy without the luminance contrast tools available in light palettes. The lightness steps between layers are typically small — 5-10 lightness points in HSL terms — which requires careful calibration. Steps that are too small read as identical; steps that are too large create excessive contrast between surface levels.
