Colour palettes without a design degree

Sometimes the best palette is almost no colour at all: black, white and the greys in between.

  • Web design
  • Learning

Four overlapping translucent circles in shades of grey on black

This site used to be dusk-coloured: indigo, plum, coral and amber. Its current look is monochrome, inspired by dark interface kits like ObsidianUI. With no colour to lean on, everything is done with light: how bright a surface is, how bright the text is and how faint the borders are.

The roles

  • Base: pure black (#000000) behind everything.
  • Surface: cards a step lighter (#0a0a0a), with one-pixel borders at 8% white.
  • Text: near-white (#fafafa) for headings, soft grey (#a1a1a1) for body text.
  • Accent: plain white. The brightest thing on the screen is the thing to click.

Contrast first

Text has to be readable before it looks pretty. Grey on black is easy to get wrong, so check for a contrast ratio of at least 4.5 to 1. Browser developer tools will tell you the ratio when you inspect an element.

One accent, used consistently, does more than five used at random. Even when that accent is just white.

Once the roles are set, stick to them. If the white pill always means "you can click this", visitors learn it without thinking.