Maroon Colors  ·  Color Library

Palettes / Colors / #2D034C

#2D034C — Deep Vivid Purple

#2D034C is a purple color we call Deep Vivid 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 #2D034C 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.

#2D034C 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 #204903; it also sits naturally between #090349 and #490344. In the palettes below you can see it working alongside real color combinations from our collection.

#2D034C · RGB 45, 3, 76

Download PNG swatch SVG

Color values

HEX#2D034C
RGB45, 3, 76
HSL275°, 92%, 15%
HSV275°, 96%, 30%
CMYK41%, 96%, 0%, 70%
XYZ2.42, 1.14, 6.93
Yxy1.14, 0.2305, 0.1091
CIE-Lab10.14, 34.39, -34.78
Hunter Lab10.70, 22.56, -32.71

RGB & CMYK percentages

Red 18% · Green 1% · Blue 30%

Cyan 41% · Magenta 96% · Yellow 0% · Key 70%

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

Previews

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

CSS code for #2D034C

.text { color: #2D034C; }
.background { background-color: #2D034C; }
.border { border: 3px solid #2D034C; }
.text-rgb { color: rgb(45, 3, 76); }
.text-hsl { color: hsl(275, 92%, 15%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2D034C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(45, 3, 76, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2D034C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(45, 3, 76, 0.8); }

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

Shades of #2D034C

#290345#260340#23023B#200236#1D0231#180227#150122#12011D#0F0118#0C0114

Tints of #2D034C

#440571#5B0698#7308BF#8A0AE6#A028F6#B14FF8#C376F9#D49DFB#E5C4FD#F6EBFE

Tones of #2D034C

#2B0844#2A0D3F#2A123B#291735#281C30#27212B

Color harmonies

Complementary — #204903:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.09:1 AAA
Against black text1.23:1 Fails

Best text color on #2D034C: #FFFFFF.

Semi-transparent (opacity) text on #2D034C

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 #2D034C: ·

How #2D034C looks with color blindness

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

Protanopia · #1B1A3ADeuteranopia · #1D2036Tritanopia · #2B2C29

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 #2D034C rather than the exact color:

Palette 2e0249
#2E0249 · #570A57 · #A91079 · #F806CC
Palette 2a004e
#2A004E · #500073 · #C62300 · #F14A00
Palette F7f6e5
#F7F6E5 · #76D2DB · #DA4848 · #36064D
Palette 2a0944
#2A0944 · #3B185F · #A12568 · #FEC260
Palette 240750
#240750 · #344C64 · #577B8D · #57A6A1
Dusty Whisper
#BA68EE · #5A1287 · #4B0F71 · #2D0943

Similar colors

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

#2E0249#2A004E#36064D#2A0944#240750#2D0943#240046#280A42#2E073F#230C51#3A0A4C#280A3E

Browse neighbouring colors

← #2D034B  ·  #2D034D →

Frequently asked questions

What color is #2D034C?

#2D034C is Deep Vivid Purple, a purple color (RGB 45, 3, 76). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #2D034C?

#2D034C is RGB 45, 3, 76 — HSL 275°, 92%, 15% — CMYK 41%, 96%, 0%, 70%.

What colors go with #2D034C?

Its complement is #204903; analogous partners are #090349 and #490344. It also appears in 6+ palettes in our collection.

Can I use #2D034C for text?

White text on #2D034C has a contrast ratio of 17.09:1 (passes WCAG AA); black text gives 1.23:1.