Maroon Colors  ·  Color Library

Palettes / Colors / #323331

#323331 — Charcoal

#323331 is a gray color we call Charcoal, closest to the named color DarkSlateGray (#2F4F4F). It belongs to the gray family.

Color name

Closest CSS keyword: darkslategray (#2F4F4F) — not an exact match. CSS darkslategray gives you #2F4F4F, a different color; use #323331 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#323331 is a neutral gray color associated with neutrality and professionalism. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #333234; it also sits naturally between #343432 and #323432. In the palettes below you can see it working alongside real color combinations from our collection.

#323331 · RGB 50, 51, 49

Download PNG swatch SVG

Color values

HEX#323331
RGB50, 51, 49
HSL90°, 2%, 20%
HSV90°, 4%, 20%
CMYK2%, 0%, 4%, 80%
XYZ3.05, 3.27, 3.38
Yxy3.27, 0.3149, 0.3370
CIE-Lab21.08, -0.90, 1.11
Hunter Lab18.08, -0.52, 0.62

RGB & CMYK percentages

Red 20% · Green 20% · Blue 19%

Cyan 2% · Magenta 0% · Yellow 4% · Key 80%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #323331 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #323331 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #323331

.text { color: #323331; }
.background { background-color: #323331; }
.border { border: 3px solid #323331; }
.text-rgb { color: rgb(50, 51, 49); }
.text-hsl { color: hsl(90, 2%, 20%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #323331; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(50, 51, 49, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #323331; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(50, 51, 49, 0.8); }

HTML: <p style="color:#323331">Text here</p> · <div style="background-color:#323331">Div content here</div>

Shades of #323331

#2E2F2D#2B2C2A#262725#242423#1F1F1E#1A1A19#171716#121211#0F100F#0A0A0A

Tints of #323331

#474946#595B57#6E706B#80827D#949692#A8AAA7#BABCB9#CFD0CE#E0E1E0#F5F5F5

Tones of #323331

#333432#333432#333432#333432#333432#333333

Color harmonies

Complementary — #333234:

Analogous:

Triadic:

Contrast & accessibility

Against white text12.70:1 AAA
Against black text1.65:1 Fails

Best text color on #323331: #FFFFFF.

Semi-transparent (opacity) text on #323331

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #323331: ·

How #323331 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #323231Deuteranopia · #323232Tritanopia · #323232

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap dark · #212529Tailwind neutral 600 · #525252Tailwind stone 600 · #57534E

Palettes with a similar color

These palettes use a close neighbour of #323331 rather than the exact color:

Palette 212121
#212121 · #323232 · #0D7377 · #14FFEC
Palette Ff0b55
#FF0B55 · #D61D4E · #323232 · #FFDEE6
Palette 333333
#333333 · #FFFFFF · #E1F4F3 · #706C61
Palette 343131
#343131 · #A04747 · #D8A25E · #EEDF7A
Palette 343434
#343434 · #055E68 · #62A388 · #B9D2D2
Palette 2c3333
#2C3333 · #395B64 · #A5C9CA · #E7F6F2

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#323232#333333#343131#343434#2C3333#33372C#363636#393232#2C3930#2A3335#322C2B#3B3030

Browse neighbouring colors

← #323330  ·  #323332 →

Frequently asked questions

What color is #323331?

#323331 is Charcoal, a gray color (RGB 50, 51, 49). Its closest standard named color is DarkSlateGray.

What is the RGB and HSL of #323331?

#323331 is RGB 50, 51, 49 — HSL 90°, 2%, 20% — CMYK 2%, 0%, 4%, 80%.

What colors go with #323331?

Its complement is #333234; analogous partners are #343432 and #323432. It also appears in 6+ palettes in our collection.

Can I use #323331 for text?

White text on #323331 has a contrast ratio of 12.70:1 (passes WCAG AA); black text gives 1.65:1.