ColorXprez

#504271

Eggplant · dark cool purple

About #504271

#504271 is a dark, moderately saturated purple colour. Digitally that works out to 31% red, 26% green and 44% blue. In CMYK print terms it is 29% cyan, 42% magenta, 0% yellow and 56% black. Most people will perceive it as cool.

Visually it is somewhere between Eggplant and Prussian Blue (ΔE 20.6), with Prussian Blue the next nearest named colour. Across the colour wheel sits #637142 (fern), its complementary partner.

Because it is dark, it is most useful for headings, body text, footers and dark-mode backgrounds. Put white text on top of it — 8.90:1, a WCAG AAA pass. Used as a text colour on white, it is readable too (8.90:1).

Colour codes

HEX
RGB
HSL
HSV / HSB
CMYK
CIELAB
Decimal
CSS
Red80
Green66
Blue113

Closest named colours

Eggplant
#614051 · ΔE 20.6
Prussian Blue
#003153 · ΔE 21.4
Oxford Blue
#002147 · ΔE 21.8

ΔE measures visible difference: under 2 is barely noticeable, over 10 is clearly different.

Text on #504271

WCAG contrast for white and black text on this colour.

White heading text
Body copy set on eggplant #504271.
8.90:1AAA
Black heading text
Body copy set on eggplant #504271.
2.36:1Fail

Colour-blindness preview

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

Normal vision
#504271
Protanopia (no red cones)
#354A73
Deuteranopia (no green cones)
#374970
Tritanopia (no blue cones)
#494A54

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #504271?

#504271 is a dark, moderately saturated purple colour. Digitally that works out to 31% red, 26% green and 44% blue. In CMYK print terms it is 29% cyan, 42% magenta, 0% yellow and 56% black. Most people will perceive it as cool.

›What text colour should I use on #504271?

Use white text. White on #504271 has a contrast ratio of 8.90:1 (AAA).

›What colours go with #504271?

Its complementary colour is #637142, and analogous partners are #424B71 and #684271.