#201828
Onyx · very dark cool purple
About #201828
With the hex code #201828, this is a very dark purple with a muted character. Its RGB recipe is 13% red, 9% green and 16% blue, while a printer would mix 20% cyan, 40% magenta, 0% yellow and 84% black. It reads as a cool colour.
If you had to name it, it is similar to Onyx — a ΔE of 13.3 — followed by Jet. For maximum hue contrast, pair it with its complement #202818, a jet shade.
In design, a very dark colour like this works best for headings, body text, footers and dark-mode backgrounds. White text reads best on it at 17.17:1 (a WCAG AAA pass). Used as a text colour on white, it is readable too (17.17:1).
Colour codes
| HEX | |
|---|---|
| RGB | |
| HSL | |
| HSV / HSB | |
| CMYK | |
| CIELAB | |
| Decimal | |
| CSS |
Closest named colours
ΔE measures visible difference: under 2 is barely noticeable, over 10 is clearly different.
Text on #201828
WCAG contrast for white and black text on this colour.
Colour-blindness preview
How #201828 appears to people with the three most common types of colour-vision deficiency.
Shades, tints & matching colours
Similar colours
Frequently asked questions
›What colour is #201828?
With the hex code #201828, this is a very dark purple with a muted character. Its RGB recipe is 13% red, 9% green and 16% blue, while a printer would mix 20% cyan, 40% magenta, 0% yellow and 84% black. It reads as a cool colour.
›What text colour should I use on #201828?
Use white text. White on #201828 has a contrast ratio of 17.17:1 (AAA).
›What colours go with #201828?
Its complementary colour is #202818, and analogous partners are #181828 and #281828.