Brand & Experience 5 min read

How to choose a colour palette for your website

A good palette makes a site feel coherent and guides the eye. How to build one that works.

On this page 12 sections

Colour is one of the first things visitors notice on a website, often before they read a word. A well-chosen palette makes a site feel coherent and trustworthy, shows people where to look and helps your brand stick in the memory. A poorly chosen one makes text hard to read, buttons hard to find and the whole site feel unfinished.

Most businesses already have brand colours, often designed for a logo or printed materials. A website needs more than that: colours for backgrounds, text, buttons, links, borders, alerts and states such as hover and focus. This guide explains how to build a complete website palette from your brand, and how to check it works for every visitor.

The short answer

  • Start from your brand colours, then add the colours a website needs: neutrals for text and backgrounds, an accent for actions, and status colours for messages.
  • Use colour in proportion: mostly neutrals, a smaller share of your main brand colour, and the accent sparingly.
  • Reserve one colour for calls to action, so buttons stand out.
  • Check contrast against WCAG: at least 4.5:1 for normal text and 3:1 for large text and interface elements.
  • Write the palette down as named tokens, so it’s applied the same way across the site.

The parts of a website palette

Role Purpose Typical use
Primary (brand) Recognition and personality Header details, highlights, illustrations
Accent Draw attention to actions Main buttons, key links
Neutrals Readability and structure Text, backgrounds, borders, cards
Status colours Communicate meaning Success, warning and error messages
Interaction states Show what’s happening Hover, focus, active and disabled states

Neutrals do most of the work. A typical palette has several shades of grey or a tinted neutral, from near-white backgrounds to near-black text.

Step 1: start from your brand

Collect the brand colours you already use, ideally with exact values. Ask:

  • Which colour is most recognisable as yours?
  • Do the colours work on screen? Colours chosen for print can look dull or too bright on displays.
  • Are there too many? A brand with five equally important colours usually needs a clearer hierarchy online.

If your brand guidelines don’t cover digital use, our guide to brand guidelines for websites explains what to add.

Step 2: choose your accent

The accent colour tells visitors where to act. It should:

  • contrast clearly with the background and the primary colour;
  • be used only for actions, so it keeps its meaning;
  • appear in the same way on every page.

Sometimes the main brand colour works as the accent. If it’s pale, very dark or used everywhere, choose a complementary colour for buttons instead. Our call-to-action guide covers how buttons should look and read.

Step 3: build your neutrals

Pure black text on pure white can feel harsh. Many sites use a very dark grey for text and an off-white or lightly tinted background. Build a scale of five to nine shades, from background to text, so you have options for cards, borders and secondary text without inventing new colours each time.

A neutral with a slight tint of your brand colour often feels more considered than a plain grey.

Step 4: use colour in proportion

A common starting point is the 60-30-10 guideline: about 60 per cent of the design in a dominant colour (usually a neutral background), 30 per cent in a secondary colour, and 10 per cent in an accent. It isn’t a strict rule, but it prevents the most common mistake: using every brand colour everywhere, so nothing stands out.

Step 5: check contrast and accessibility

Colour must never be the only way information is shown, and text must be readable for people with low vision or colour blindness. The WCAG success criterion for minimum contrast sets a ratio of at least 4.5:1 for normal text and 3:1 for large text. A separate criterion, non-text contrast, asks for at least 3:1 for the parts of buttons, form fields and icons that people need to see to use them. Check focus outlines too: keyboard users rely on them to see where they are on the page, so they need to stand out against every background they appear on.

Practical checks:

  • test every text and background combination with a contrast checker;
  • don’t rely on colour alone, for example red for errors, without also adding text or an icon;
  • check links are distinguishable from body text, not just by colour.

Our guide to colour contrast and accessible typography goes into the details.

Step 6: document the palette

Give every colour a name based on its role, such as primary-600, text-strong or surface, and record its value. In code, these become design tokens, which keep colours consistent and make future changes easier. Our guide to website design systems explains how tokens fit into a wider system.

Colour psychology: useful, but not a rulebook

You’ll often read that blue signals trust, green growth and red urgency. Associations exist, but they vary by culture, industry and context, and they matter less than contrast, consistency and clarity. Choose colours that fit your brand and audience, then make sure they work well, rather than picking a colour because of a chart.

On a multilingual site that serves different cultures, check that your palette doesn’t carry unintended meanings in any of your markets.

Testing before launch

  • View key pages on several screens, including phones in bright light.
  • Check forms, alerts and error messages, not just the homepage.
  • Look at the site in greyscale to check hierarchy without colour.
  • If you plan a dark theme, design it as its own palette rather than inverting colours. Our dark mode guide covers the differences.

Frequently asked questions

How many colours should a website use?

Usually one or two brand colours, one accent, a scale of neutrals and a few status colours. More than that tends to look busy and makes it harder for visitors to know what matters.

Should my website colours match my logo exactly?

Use the logo colours as the foundation, but adjust them where needed for the screen. A colour might need a darker shade for text or a lighter tint for backgrounds to meet contrast requirements.

Can I change my website colours without a full redesign?

Often yes, if the site uses consistent colour tokens. Changing a token updates every place it’s used. On sites where colours are set page by page, a colour change can mean a lot of manual work.

What to do next

List every colour currently used on your website, including those buried in buttons, borders and old landing pages. You may find many more than you expect. Group them by role, choose the ones to keep, and check each text combination for contrast.

If your site has drifted into dozens of slightly different colours, a design system brings it back under control. Our website design and development service builds every site on a documented palette, so it stays consistent as you add pages.

Written by the PORVIX team

The people who design, build and maintain websites for growing businesses. We write about the questions that come up on real projects, in plain language, and update articles when the advice changes.

Published

How we work

Is your current site costing you enquiries?

A free, plain-language audit, by email within 2 business days.

Get a free audit
Get a free audit

Keep reading

More plain-language guides.

More on brand and experience first, then other guides worth reading next.

All insights

Start here

Let’s build a website that brings in business.

Tell us about your project. You’ll hear back from a real person within one business day, with honest advice either way.

  • Free consultation
  • Fixed written quote
  • Your details stay private