Maroon Colors  ·  Color Library

Palettes / Colors / #320D4E

#320D4E — Deep Purple

#320D4E is a purple color we call Deep 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 #320D4E 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.

#320D4E 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 #2A4E0D; it also sits naturally between #120D4E and #4E0D4A. In the palettes below you can see it working alongside real color combinations from our collection.

#320D4E · RGB 50, 13, 78

Download PNG swatch SVG

Color values

HEX#320D4E
RGB50, 13, 78
HSL274°, 71%, 18%
HSV274°, 83%, 31%
CMYK36%, 83%, 0%, 69%
XYZ2.83, 1.52, 7.35
Yxy1.52, 0.2422, 0.1296
CIE-Lab12.71, 31.31, -31.94
Hunter Lab12.31, 20.52, -28.50

RGB & CMYK percentages

Red 20% · Green 5% · Blue 31%

Cyan 36% · Magenta 83% · Yellow 0% · Key 69%

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

Previews

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

CSS code for #320D4E

.text { color: #320D4E; }
.background { background-color: #320D4E; }
.border { border: 3px solid #320D4E; }
.text-rgb { color: rgb(50, 13, 78); }
.text-hsl { color: hsl(274, 71%, 18%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #320D4E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(50, 13, 78, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #320D4E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(50, 13, 78, 0.8); }

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

Shades of #320D4E

#2F0D4A#2A0B41#270A3D#210934#1F0830#1C072C#160623#14051F#0E0416#0B0311

Tints of #320D4E

#491371#5F1994#721EB3#8924D6#9C43DF#AE66E5#C189EB#D1A8F0#E3CBF6#F6EEFC

Tones of #320D4E

#32124A#311645#301B41#30203C#2F2537#2F2932

Color harmonies

Complementary — #2A4E0D:

Analogous:

Triadic:

Contrast & accessibility

Against white text16.11:1 AAA
Against black text1.30:1 Fails

Best text color on #320D4E: #FFFFFF.

Semi-transparent (opacity) text on #320D4E

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 #320D4E: ·

How #320D4E looks with color blindness

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

Protanopia · #22223EDeuteranopia · #24273ATritanopia · #30322F

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 #320D4E rather than the exact color:

Palette F7f6e5
#F7F6E5 · #76D2DB · #DA4848 · #36064D
Dusty Meadow
#2D1351 · #461E3E · #582323 · #66581B
Misty Canyon
#DAA5EE · #CD82E9 · #741895 · #3A0A4C
Burning Drift
#207862 · #13313C · #2C3F98 · #29154F
Palette 030637
#030637 · #3C0753 · #720455 · #910A67
Dusty Whisper
#BA68EE · #5A1287 · #4B0F71 · #2D0943

Similar colors

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

#36064D#2D1351#3A0A4C#29154F#3C0753#2D0943#2E0249#321242#2A0944#3F134D#2D1141#2A1458

Browse neighbouring colors

← #320D4D  ·  #320D4F →

Frequently asked questions

What color is #320D4E?

#320D4E is Deep Purple, a purple color (RGB 50, 13, 78). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #320D4E?

#320D4E is RGB 50, 13, 78 — HSL 274°, 71%, 18% — CMYK 36%, 83%, 0%, 69%.

What colors go with #320D4E?

Its complement is #2A4E0D; analogous partners are #120D4E and #4E0D4A. It also appears in 6+ palettes in our collection.

Can I use #320D4E for text?

White text on #320D4E has a contrast ratio of 16.11:1 (passes WCAG AA); black text gives 1.30:1.