Maroon Colors  ·  Color Library

Palettes / Colors / #34116A

#34116A — Deep Purple

#34116A 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 #34116A 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.

#34116A is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #466911; it also sits naturally between #111A69 and #601169. In the palettes below you can see it working alongside real color combinations from our collection.

#34116A · RGB 52, 17, 106

Download PNG swatch SVG

Color values

HEX#34116A
RGB52, 17, 106
HSL264°, 72%, 24%
HSV264°, 84%, 42%
CMYK51%, 84%, 0%, 58%
XYZ4.22, 2.17, 13.83
Yxy2.17, 0.2086, 0.1074
CIE-Lab16.36, 37.53, -44.74
Hunter Lab14.74, 26.51, -47.91

RGB & CMYK percentages

Red 20% · Green 7% · Blue 42%

Cyan 51% · Magenta 84% · Yellow 0% · Key 58%

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

Previews

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

CSS code for #34116A

.text { color: #34116A; }
.background { background-color: #34116A; }
.border { border: 3px solid #34116A; }
.text-rgb { color: rgb(52, 17, 106); }
.text-hsl { color: hsl(264, 72%, 24%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #34116A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(52, 17, 106, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #34116A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(52, 17, 106, 0.8); }

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

Shades of #34116A

#301060#2C0E58#270D4F#230B46#1F0A3D#1A0935#16072C#110623#0D041A#090312

Tints of #34116A

#441688#531BA7#6421CA#7631DD#8A50E2#9F6EE7#B38DEC#CAB0F2#DFCFF7#F3EDFC

Tones of #34116A

#361763#371E5C#382456#392A50#3B304A#3C3743

Color harmonies

Complementary — #466911:

Analogous:

Triadic:

Contrast & accessibility

Against white text14.64:1 AAA
Against black text1.43:1 Fails

Best text color on #34116A: #FFFFFF.

Semi-transparent (opacity) text on #34116A

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 #34116A: ·

How #34116A looks with color blindness

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

Protanopia · #252554Deuteranopia · #272A4FTritanopia · #324340

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:

Tailwind slate 600 · #475569Bootstrap dark · #212529Tailwind gray 600 · #4B5563

Palettes with a similar color

These palettes use a close neighbour of #34116A rather than the exact color:

Palette F2afef
#F2AFEF · #C499F3 · #7360DF · #33186B
Palette 78b9b5
#78B9B5 · #0F828C · #065084 · #320A6B
Dreamy Ruby Mirage
#1E537B · #2C176C · #7D2576 · #2B0A0E
Hidden Bloom
#3951C5 · #472BCA · #3E1365 · #751C83
Tranquil Ruby Garden
#9956DC · #7027BA · #4D1E7B · #3B1561
Royal Ruby Solace
#2A7EB1 · #1B38AB · #29176D · #471067

Similar colors

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

#33186B#320A6B#2C176C#3E1365#3B1561#29176D#3B185F#310A5D#3A1078#26186D#3D1E6C#3E1E68

Browse neighbouring colors

← #341169  ·  #34116B →

Frequently asked questions

What color is #34116A?

#34116A is Deep Purple, a purple color (RGB 52, 17, 106). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #34116A?

#34116A is RGB 52, 17, 106 — HSL 264°, 72%, 24% — CMYK 51%, 84%, 0%, 58%.

What colors go with #34116A?

Its complement is #466911; analogous partners are #111A69 and #601169. It also appears in 6+ palettes in our collection.

Can I use #34116A for text?

White text on #34116A has a contrast ratio of 14.64:1 (passes WCAG AA); black text gives 1.43:1.