Maroon Colors  ·  Color Library

Palettes / Colors / #331B3C

#331B3C — Deep Muted Purple

#331B3C is a purple color we call Deep Muted Purple, closest to the named color DarkSlateGray (#2F4F4F). It belongs to the purple family.

Color name

Closest CSS keyword: darkslategray (#2F4F4F) — not an exact match. CSS darkslategray gives you #2F4F4F, a different color; use #331B3C 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.

#331B3C is a cool purple color associated with luxury, creativity and mystery. 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 #243C1B; it also sits naturally between #231B3C and #3C1B34. In the palettes below you can see it working alongside real color combinations from our collection.

#331B3C · RGB 51, 27, 60

Download PNG swatch SVG

Color values

HEX#331B3C
RGB51, 27, 60
HSL284°, 38%, 17%
HSV284°, 55%, 24%
CMYK15%, 55%, 0%, 76%
XYZ2.57, 1.81, 4.49
Yxy1.81, 0.2899, 0.2044
CIE-Lab14.48, 18.75, -16.54
Hunter Lab13.47, 11.43, -11.49

RGB & CMYK percentages

Red 20% · Green 11% · Blue 24%

Cyan 15% · Magenta 55% · Yellow 0% · Key 76%

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

Previews

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

CSS code for #331B3C

.text { color: #331B3C; }
.background { background-color: #331B3C; }
.border { border: 3px solid #331B3C; }
.text-rgb { color: rgb(51, 27, 60); }
.text-hsl { color: hsl(284, 38%, 17%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #331B3C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(51, 27, 60, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #331B3C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(51, 27, 60, 0.8); }

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

Shades of #331B3C

#301938#2A1631#27152E#24132A#211127#1B0E20#180D1C#150B19#0F0812#0C060E

Tints of #331B3C

#4B2858#633474#7B4190#934DAC#A568BB#B380C6#C49CD3#D5B9DF#E6D5EC#F7F1F9

Tones of #331B3C

#321D3A#312037#302235#2F2432#2E2730#2C292E

Color harmonies

Complementary — #243C1B:

Analogous:

Triadic:

Contrast & accessibility

Against white text15.41:1 AAA
Against black text1.36:1 Fails

Best text color on #331B3C: #FFFFFF.

Semi-transparent (opacity) text on #331B3C

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 #331B3C: ·

How #331B3C looks with color blindness

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

Protanopia · #292834Deuteranopia · #2A2C32Tritanopia · #322E2C

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 #331B3C rather than the exact color:

Palette E23e57
#E23E57 · #88304E · #522546 · #311D3F
Palette 151515
#151515 · #301B3F · #3C415C · #B4A5A5
Velvet Ruby Drift
#2C6267 · #171834 · #35143B · #752C3E
Electric Ruby Tempest
#E1BEE4 · #A661AD · #612E66 · #3C1D3F
Palette 2f2342
#2F2342 · #E42F45 · #B42B3F · #7CA0E5
Scarlet Ruby Lagoon
#4E35A5 · #321242 · #5D1754 · #401527

Similar colors

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

#311D3F#301B3F#35143B#3C1D3F#2F2342#321242#371832#3B1735#30103D#321E48#342147#2D1141

Browse neighbouring colors

← #331B3B  ·  #331B3D →

Frequently asked questions

What color is #331B3C?

#331B3C is Deep Muted Purple, a purple color (RGB 51, 27, 60). Its closest standard named color is DarkSlateGray.

What is the RGB and HSL of #331B3C?

#331B3C is RGB 51, 27, 60 — HSL 284°, 38%, 17% — CMYK 15%, 55%, 0%, 76%.

What colors go with #331B3C?

Its complement is #243C1B; analogous partners are #231B3C and #3C1B34. It also appears in 6+ palettes in our collection.

Can I use #331B3C for text?

White text on #331B3C has a contrast ratio of 15.41:1 (passes WCAG AA); black text gives 1.36:1.