ColorXprez

#342A40

Gunmetal · very dark cool purple

About #342A40

#342A40 is a muted, very dark shade in the purple family. On screen it is built from 20% red, 16% green and 25% blue; for print, its CMYK mix is 19% cyan, 34% magenta, 0% yellow and 75% black. Its overall feel is cool.

Of the common colour names it is similar to Gunmetal (ΔE 15.0); Jet comes next. Its complementary colour, directly opposite on the colour wheel, is #36402A — a graphite tone that gives the strongest contrast in hue.

Designers tend to use very dark tones like #342A40 for headings, body text, footers and dark-mode backgrounds. White text reads best on it at 13.54:1 (a WCAG AAA pass). Used as a text colour on white, it is readable too (13.54:1).

Colour codes

HEX
RGB
HSL
HSV / HSB
CMYK
CIELAB
Decimal
CSS
Red52
Green42
Blue64

Closest named colours

Gunmetal
#2A3439 · ΔE 15.0
Jet
#2B2B2B · ΔE 15.8
Prussian Blue
#003153 · ΔE 16.3

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

Text on #342A40

WCAG contrast for white and black text on this colour.

White heading text
Body copy set on gunmetal #342A40.
13.54:1AAA
Black heading text
Body copy set on gunmetal #342A40.
1.55:1Fail

Colour-blindness preview

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

Normal vision
#342A40
Protanopia (no red cones)
#262E41
Deuteranopia (no green cones)
#282E3F
Tritanopia (no blue cones)
#322D32

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #342A40?

#342A40 is a muted, very dark shade in the purple family. On screen it is built from 20% red, 16% green and 25% blue; for print, its CMYK mix is 19% cyan, 34% magenta, 0% yellow and 75% black. Its overall feel is cool.

›What text colour should I use on #342A40?

Use white text. White on #342A40 has a contrast ratio of 13.54:1 (AAA).

›What colours go with #342A40?

Its complementary colour is #36402A, and analogous partners are #2A2B40 and #3F2A40.