Developer Docs colour palette
Deep plum keeps paragraphs readable on cream. Teal highlights actions. The palette uses Warm cream, Deep plum, Teal and Paper white.
Preview on a website Try on walls
Colour codes
| Colour | HEX | RGB | OKLCH | Text on it |
|---|---|---|---|---|
| Warm cream | #F3EADF | rgb(243 234 223) | oklch(94.1% 0.018 73.1) |
Black (17.65:1) |
| Deep plum | #492E46 | rgb(73 46 70) | oklch(34.3% 0.055 330.6) |
White (11.91:1) |
| Teal | #35615E | rgb(53 97 94) | oklch(46.0% 0.049 189.9) |
White (6.95:1) |
| Paper white | #FFFFFF | rgb(255 255 255) | oklch(100.0% 0.000 0) |
Black (21.00:1) |
Contrast between the colours
4 of 6 colour pairs pass WCAG AA for body text. The strongest is Deep plum with Paper white at 11.91:1.
| Pair | Ratio | Body text AA (4.5:1) | Body text AAA (7:1) | Large text and icons (3:1) |
|---|---|---|---|---|
| Deep plum / Paper white | 11.91:1 | Pass | Pass | Pass |
| Warm cream / Deep plum | 10.01:1 | Pass | Pass | Pass |
| Teal / Paper white | 6.95:1 | Pass | Fail | Pass |
| Warm cream / Teal | 5.84:1 | Pass | Fail | Pass |
| Deep plum / Teal | 1.72:1 | Fail | Fail | Fail |
| Warm cream / Paper white | 1.19:1 | Fail | Fail | Fail |
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 | #FFFFFF Paper white |
|---|---|
| Text | #492E46 Deep plum |
| Button | #F3EADF Warm cream |
| Button text | #35615E Teal |
:root {
--background: #FFFFFF;
--text: #492E46;
--accent: #F3EADF;
--on-accent: #35615E;
}