Maroon Colors  ·  Color Library

Palettes / Colors / #2E034C

#2E034C — Deep Vivid Purple

#2E034C 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 #2E034C 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.

#2E034C 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.

#2E034C · RGB 46, 3, 76

Download PNG swatch SVG

Color values

HEX#2E034C
RGB46, 3, 76
HSL275°, 92%, 15%
HSV275°, 96%, 30%
CMYK39%, 96%, 0%, 70%
XYZ2.46, 1.17, 6.93
Yxy1.17, 0.2332, 0.1105
CIE-Lab10.32, 34.54, -34.49
Hunter Lab10.81, 22.72, -32.26

RGB & CMYK percentages

Red 18% · Green 1% · Blue 30%

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

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

Previews

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

CSS code for #2E034C

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

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

Shades of #2E034C

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

Tints of #2E034C

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

Tones of #2E034C

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

Color harmonies

Complementary — #204903:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #2E034C: #FFFFFF.

Semi-transparent (opacity) text on #2E034C

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

How #2E034C looks with color blindness

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

Protanopia · #1B1B3ADeuteranopia · #1E2136Tritanopia · #2C2C29

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 #2E034C 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
Dusty Whisper
#BA68EE · #5A1287 · #4B0F71 · #2D0943
Palette 240750
#240750 · #344C64 · #577B8D · #57A6A1

Similar colors

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

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

Browse neighbouring colors

← #2E034B  ·  #2E034D →

Frequently asked questions

What color is #2E034C?

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

What is the RGB and HSL of #2E034C?

#2E034C is RGB 46, 3, 76 — HSL 275°, 92%, 15% — CMYK 39%, 96%, 0%, 70%.

What colors go with #2E034C?

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

Can I use #2E034C for text?

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