Maroon Colors  ·  Color Library

Palettes / Colors / #331A3A

#331A3A — Deep Muted Purple

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

#331A3A 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 #203819; it also sits naturally between #221938 and #381930. In the palettes below you can see it working alongside real color combinations from our collection.

#331A3A · RGB 51, 26, 58

Download PNG swatch SVG

Color values

HEX#331A3A
RGB51, 26, 58
HSL287°, 38%, 16%
HSV287°, 55%, 23%
CMYK12%, 55%, 0%, 77%
XYZ2.50, 1.75, 4.21
Yxy1.75, 0.2955, 0.2067
CIE-Lab14.11, 18.90, -15.72
Hunter Lab13.22, 11.48, -10.74

RGB & CMYK percentages

Red 20% · Green 10% · Blue 23%

Cyan 12% · Magenta 55% · Yellow 0% · Key 77%

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

Previews

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

CSS code for #331A3A

.text { color: #331A3A; }
.background { background-color: #331A3A; }
.border { border: 3px solid #331A3A; }
.text-rgb { color: rgb(51, 26, 58); }
.text-hsl { color: hsl(287, 38%, 16%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #331A3A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(51, 26, 58, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #331A3A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(51, 26, 58, 0.8); }

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

Shades of #331A3A

#2E1835#2B1631#25132A#221127#1F1023#1C0E20#190D1C#130915#0F0812#0C060E

Tints of #331A3A

#4A2654#633371#7C3F8D#954CA9#A764B9#B780C6#C79CD3#D7B9DF#E7D5EC#F7F1F9

Tones of #331A3A

#301B36#2F1E34#2E2032#2C222F#2B242D#2A272B

Color harmonies

Complementary — #203819:

Analogous:

Triadic:

Contrast & accessibility

Against white text15.56:1 AAA
Against black text1.35:1 Fails

Best text color on #331A3A: #FFFFFF.

Semi-transparent (opacity) text on #331A3A

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

How #331A3A looks with color blindness

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

Protanopia · #282832Deuteranopia · #2A2B30Tritanopia · #322C2B

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

Palette 151515
#151515 · #301B3F · #3C415C · #B4A5A5
Palette E23e57
#E23E57 · #88304E · #522546 · #311D3F
Velvet Ruby Drift
#2C6267 · #171834 · #35143B · #752C3E
Crimson Ruby Aurora
#371832 · #6A3A38 · #766C1A · #254E18
Dusty Drift
#ECCFE8 · #C685BD · #963B89 · #3B1735
Electric Ruby Tempest
#E1BEE4 · #A661AD · #612E66 · #3C1D3F

Similar colors

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

#301B3F#311D3F#35143B#371832#3B1735#3C1D3F#30103D#321242#3B1C32#2F2342#2D1141#2A1038

Browse neighbouring colors

← #331A39  ·  #331A3B →

Frequently asked questions

What color is #331A3A?

#331A3A is Deep Muted Purple, a purple color (RGB 51, 26, 58). Its closest standard named color is DarkSlateGray.

What is the RGB and HSL of #331A3A?

#331A3A is RGB 51, 26, 58 — HSL 287°, 38%, 16% — CMYK 12%, 55%, 0%, 77%.

What colors go with #331A3A?

Its complement is #203819; analogous partners are #221938 and #381930. It also appears in 6+ palettes in our collection.

Can I use #331A3A for text?

White text on #331A3A has a contrast ratio of 15.56:1 (passes WCAG AA); black text gives 1.35:1.