Swatchproof

Slate & Gold colour palette

The palette uses slate, lavender and gold.

Preview on a website Try on walls

Colour codes

ColourHEXRGBOKLCHText on it
slate P 173-16 C #454443rgb(69 68 67)oklch(38.7% 0.002 67.8) White (9.72:1)
lavender P 88-9 C #D0C5D4rgb(208 197 212)oklch(83.7% 0.024 317.1) Black (12.62:1)
gold P 10-5 C #E8C675rgb(232 198 117)oklch(83.9% 0.107 87.3) Black (12.77:1)

Contrast between the colours

2 of 3 colour pairs pass WCAG AA for body text. The strongest is slate with gold at 5.91:1.

PairRatioBody text AA (4.5:1)Body text AAA (7:1)Large text and icons (3:1)
slate / gold5.91:1PassFailPass
slate / lavender5.84:1PassFailPass
lavender / gold1.01:1FailFailFail

Results use the unrounded WCAG 2.2 ratio, so a pair shown as 4.50:1 can still fail. W3C contrast guidance

Use it on a website

Swatchproof puts the lightest workable colour behind the text and changes as few colours as possible to reach 4.5:1.

Background #E8C675 gold
Text #454443 slate
Button #D0C5D4 lavender
Button text #000000
:root {
  --background: #E8C675;
  --text: #454443;
  --accent: #D0C5D4;
  --on-accent: #000000;
}

Preview on a dashboard