Maroon Colors  ·  Color Library

Palettes / Colors / #401B50

#401B50 — Deep Muted Purple

#401B50 is a purple color we call Deep Muted Purple, closest to the named color MidnightBlue (#191970). It belongs to the purple family.

Color name

Closest CSS keyword: midnightblue (#191970) — not an exact match. CSS midnightblue gives you #191970, a different color; use #401B50 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.

#401B50 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 #2B501B; it also sits naturally between #251B50 and #501B46. In the palettes below you can see it working alongside real color combinations from our collection.

#401B50 · RGB 64, 27, 80

Download PNG swatch SVG

Color values

HEX#401B50
RGB64, 27, 80
HSL282°, 50%, 21%
HSV282°, 66%, 31%
CMYK20%, 66%, 0%, 69%
XYZ3.95, 2.45, 7.85
Yxy2.45, 0.2773, 0.1720
CIE-Lab17.70, 27.97, -25.14
Hunter Lab15.66, 18.79, -20.38

RGB & CMYK percentages

Red 25% · Green 11% · Blue 31%

Cyan 20% · Magenta 66% · Yellow 0% · Key 69%

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

Previews

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

CSS code for #401B50

.text { color: #401B50; }
.background { background-color: #401B50; }
.border { border: 3px solid #401B50; }
.text-rgb { color: rgb(64, 27, 80); }
.text-hsl { color: hsl(282, 50%, 21%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #401B50; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(64, 27, 80, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #401B50; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(64, 27, 80, 0.8); }

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

Shades of #401B50

#3A1849#371745#31143D#2B1236#281132#220E2A#1C0B22#15091B#120817#0C050F

Tints of #401B50

#59256F#6E2E8A#8738A8#9B44C1#AB62CB#BA7DD4#CA9CDE#D8B6E7#E9D5F1#F7F0FA

Tones of #401B50

#3F1F4D#3D2249#3C2645#3A2A41#392E3D#373239

Color harmonies

Complementary — #2B501B:

Analogous:

Triadic:

Contrast & accessibility

Against white text14.09:1 AAA
Against black text1.49:1 Fails

Best text color on #401B50: #FFFFFF.

Semi-transparent (opacity) text on #401B50

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 #401B50: ·

How #401B50 looks with color blindness

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

Protanopia · #303043Deuteranopia · #323540Tritanopia · #3E3937

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 zinc 600 · #52525B

Palettes with a similar color

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

Serene Ruby Meadow
#26245B · #401C55 · #B24598 · #742E3B
Palette 451952
#451952 · #662549 · #AE445A · #F39F5A
Palette F29f58
#F29F58 · #AB4459 · #441752 · #1B1833
Palette 441752
#441752 · #8174A0 · #A888B5 · #EFB6C8
Palette 3b1e54
#3B1E54 · #9B7EBD · #D4BEE4 · #EEEEEE
Wild Ruby Marble
#32674F · #0D1E27 · #291E84 · #471C4C

Similar colors

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

#401C55#451952#441752#3B1E54#471C4C#44154C#3F134D#462057#471454#421358#3A2249#371E57

Browse neighbouring colors

← #401B4F  ·  #401B51 →

Frequently asked questions

What color is #401B50?

#401B50 is Deep Muted Purple, a purple color (RGB 64, 27, 80). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #401B50?

#401B50 is RGB 64, 27, 80 — HSL 282°, 50%, 21% — CMYK 20%, 66%, 0%, 69%.

What colors go with #401B50?

Its complement is #2B501B; analogous partners are #251B50 and #501B46. It also appears in 6+ palettes in our collection.

Can I use #401B50 for text?

White text on #401B50 has a contrast ratio of 14.09:1 (passes WCAG AA); black text gives 1.49:1.