Maroon Colors  ·  Color Library

Palettes / Colors / #331D3E

#331D3E — Deep Muted Purple

#331D3E 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 #331D3E 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.

#331D3E 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 #283E1D; it also sits naturally between #231D3E and #3E1D39. In the palettes below you can see it working alongside real color combinations from our collection.

#331D3E · RGB 51, 29, 62

Download PNG swatch SVG

Color values

HEX#331D3E
RGB51, 29, 62
HSL280°, 36%, 18%
HSV280°, 53%, 24%
CMYK18%, 53%, 0%, 76%
XYZ2.67, 1.93, 4.79
Yxy1.93, 0.2847, 0.2055
CIE-Lab15.12, 17.95, -16.95
Hunter Lab13.89, 10.96, -11.91

RGB & CMYK percentages

Red 20% · Green 11% · Blue 24%

Cyan 18% · Magenta 53% · Yellow 0% · Key 76%

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

Previews

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

CSS code for #331D3E

.text { color: #331D3E; }
.background { background-color: #331D3E; }
.border { border: 3px solid #331D3E; }
.text-rgb { color: rgb(51, 29, 62); }
.text-hsl { color: hsl(280, 36%, 18%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #331D3E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(51, 29, 62, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #331D3E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(51, 29, 62, 0.8); }

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

Shades of #331D3E

#311C3B#2B1834#281731#22142A#1F1226#1D1023#170D1C#140B18#0E0811#0B070E

Tints of #331D3E

#4A2A5A#613776#75438E#8C50AA#9F6AB9#B086C6#C2A1D3#D2BADE#E4D5EB#F6F1F8

Tones of #331D3E

#33203C#32223A#312438#302735#2F2932#2F2C30

Color harmonies

Complementary — #283E1D:

Analogous:

Triadic:

Contrast & accessibility

Against white text15.15:1 AAA
Against black text1.39:1 Fails

Best text color on #331D3E: #FFFFFF.

Semi-transparent (opacity) text on #331D3E

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

How #331D3E looks with color blindness

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

Protanopia · #292936Deuteranopia · #2B2C34Tritanopia · #32302E

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

Palette E23e57
#E23E57 · #88304E · #522546 · #311D3F
Palette 151515
#151515 · #301B3F · #3C415C · #B4A5A5
Palette 2f2342
#2F2342 · #E42F45 · #B42B3F · #7CA0E5
Electric Ruby Tempest
#E1BEE4 · #A661AD · #612E66 · #3C1D3F
Velvet Ruby Drift
#2C6267 · #171834 · #35143B · #752C3E
Serene Zephyr
#342147 · #623556 · #471615 · #70622F

Similar colors

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

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

Browse neighbouring colors

← #331D3D  ·  #331D3F →

Frequently asked questions

What color is #331D3E?

#331D3E is Deep Muted Purple, a purple color (RGB 51, 29, 62). Its closest standard named color is DarkSlateGray.

What is the RGB and HSL of #331D3E?

#331D3E is RGB 51, 29, 62 — HSL 280°, 36%, 18% — CMYK 18%, 53%, 0%, 76%.

What colors go with #331D3E?

Its complement is #283E1D; analogous partners are #231D3E and #3E1D39. It also appears in 6+ palettes in our collection.

Can I use #331D3E for text?

White text on #331D3E has a contrast ratio of 15.15:1 (passes WCAG AA); black text gives 1.39:1.