ColorXprez

#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
Red32
Green24
Blue40

Closest named colours

Onyx
#111111 · ΔE 13.3
Jet
#2B2B2B · ΔE 14.6
Black
#000000 · ΔE 15.9

Δ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.

White heading text
Body copy set on onyx #201828.
17.17:1AAA
Black heading text
Body copy set on onyx #201828.
1.22:1Fail

Colour-blindness preview

How #201828 appears to people with the three most common types of colour-vision deficiency.

Normal vision
#201828
Protanopia (no red cones)
#151B29
Deuteranopia (no green cones)
#171B28
Tritanopia (no blue cones)
#1F1A1E

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

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.