Kerbly

Accessible indigo color palette

A deep blue-violet that is popular for software and apps.

Your brand colour

Try an example

What your colour can do

#4f46e5

Sits at step 600 of your scale

  • ✓ PassWhite text on your colour: 6.29:1. Fine for buttons and banners.
  • ✕ FailBlack text on your colour: 3.34:1. Dark text is too faint here.

Your colour scale

Eleven steps from very light to very dark, evenly spaced to the eye. Each tile shows the text colour that reads best on it.

  1. 50

    #f4f6ff

    Black 19.47

  2. 100

    #e8ecff

    Black 17.87

  3. 200

    #d1d8ff

    Black 14.98

  4. 300

    #b5bfff

    Black 11.86

  5. 400

    #929eff

    Black 8.56

  6. 500

    #727aff

    Black 5.94

  7. 600 (your colour)

    #4f46e5

    White 6.29

  8. 700

    #463ccf

    White 7.48

  9. 800

    #342aa6

    White 10.36

  10. 900

    #24197c

    White 13.95

  11. 950

    #130850

    White 17.82

See the contrast numbers for every step
Contrast ratio of each step on white and on a dark background
StepColourOn whiteOn dark (#111111)
50#f4f6ff1.08:1 ✕17.51:1 ✓ AA
100#e8ecff1.17:1 ✕16.07:1 ✓ AA
200#d1d8ff1.4:1 ✕13.47:1 ✓ AA
300#b5bfff1.77:1 ✕10.67:1 ✓ AA
400#929eff2.45:1 ✕7.69:1 ✓ AA
500#727aff3.53:1 large text only5.34:1 ✓ AA
600 (yours)#4f46e56.29:1 ✓ AA3:1 large text only
700#463ccf7.48:1 ✓ AA2.52:1 ✕
800#342aa610.36:1 ✓ AA1.82:1 ✕
900#24197c13.95:1 ✓ AA1.35:1 ✕
950#13085017.82:1 ✓ AA1.06:1 ✕

Safe pairs to use

Picked from your scale so each one passes WCAG, with the ratio shown.

  • Book now

    Button with white text

    The lightest step that still gives white text 4.5:1.

    White on 6006.29:1 ✓ Pass

  • Read the details

    Links and text on white

    Coloured text on a white page needs 4.5:1 too.

    600 on white6.29:1 ✓ Pass

  • Read the details

    Links on a dark background

    For dark mode or dark sections. The darkest step that still reads on near-black.

    500 on dark5.34:1 ✓ Pass

  • Input with a border

    Borders, icons and focus rings

    Parts of controls need 3:1 against what they sit on (WCAG 1.4.11).

    500 on white3.53:1 ✓ Pass

  • Callout text

    Text on a light tint

    Callouts and badges: a very light background with a dark step for the text.

    950 on 5016.53:1 ✓ Pass

Take it with you

:root {
  --indigo-50: #f4f6ff;
  --indigo-100: #e8ecff;
  --indigo-200: #d1d8ff;
  --indigo-300: #b5bfff;
  --indigo-400: #929eff;
  --indigo-500: #727aff;
  --indigo-600: #4f46e5;
  --indigo-700: #463ccf;
  --indigo-800: #342aa6;
  --indigo-900: #24197c;
  --indigo-950: #130850;
}

The short answer

Indigo (#4f46e5) works with white text. The ratio is 6.29:1, above the 4.5:1 that WCAG AA asks for, so you can use it as a button or banner colour with white lettering.

Indigo shades and their contrast

Indigo scale with contrast ratios on white and on a dark background
StepColourOn whiteOn dark
50#f4f6ff1.08:1 ✕17.51:1 ✓ AA
100#e8ecff1.17:1 ✕16.07:1 ✓ AA
200#d1d8ff1.4:1 ✕13.47:1 ✓ AA
300#b5bfff1.77:1 ✕10.67:1 ✓ AA
400#929eff2.45:1 ✕7.69:1 ✓ AA
500#727aff3.53:1 large only5.34:1 ✓ AA
600 (yours)#4f46e56.29:1 ✓ AA3:1 large only
700#463ccf7.48:1 ✓ AA2.52:1 ✕
800#342aa610.36:1 ✓ AA1.82:1 ✕
900#24197c13.95:1 ✓ AA1.35:1 ✕
950#13085017.82:1 ✓ AA1.06:1 ✕

Questions about indigo

Does indigo work with white text?

Yes. Indigo (#4f46e5) has a contrast ratio of 6.29:1 with white, which meets the 4.5:1 WCAG AA asks for.

Does black text work on indigo?

No. Black on #4f46e5 is 3.34:1, which is below 4.5:1. Use a lighter or darker shade instead.

Which shade of indigo should I use for links on a white page?

Use a step that reaches 4.5:1 on white. For indigo that is step 600 (#4f46e5), at 6.29:1.

Other colours

Build a scale from your own colour or check two colours.

Is your live site using these colours well?

A free scan checks every colour pair on your page against WCAG 2.2 and shows what to fix.

No account needed. Takes about 30 seconds.