Maroon Colors  ·  Color Library

Palettes / Colors / #2B034F

#2B034F — Deep Vivid Purple

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

#2B034F 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 #264F03; it also sits naturally between #05034F and #4F034C. In the palettes below you can see it working alongside real color combinations from our collection.

#2B034F · RGB 43, 3, 79

Download PNG swatch SVG

Color values

HEX#2B034F
RGB43, 3, 79
HSL272°, 93%, 16%
HSV272°, 96%, 31%
CMYK46%, 96%, 0%, 69%
XYZ2.44, 1.14, 7.49
Yxy1.14, 0.2204, 0.1032
CIE-Lab10.13, 34.86, -36.89
Hunter Lab10.69, 22.96, -35.96

RGB & CMYK percentages

Red 17% · Green 1% · Blue 31%

Cyan 46% · Magenta 96% · Yellow 0% · Key 69%

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

Previews

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

CSS code for #2B034F

.text { color: #2B034F; }
.background { background-color: #2B034F; }
.border { border: 3px solid #2B034F; }
.text-rgb { color: rgb(43, 3, 79); }
.text-hsl { color: hsl(272, 93%, 16%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2B034F; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(43, 3, 79, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2B034F; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(43, 3, 79, 0.8); }

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

Shades of #2B034F

#29034A#260245#20023B#1E0236#1B0231#18022C#160127#10011E#0E0119#0B0114

Tints of #2B034F

#410476#57069D#6C07C5#8209EC#9626F7#A94EF9#BC75FA#CF9DFB#E2C4FD#F5EBFE

Tones of #2B034F

#2B0849#2B0E44#2A133E#2A1839#2A1E34#29232E

Color harmonies

Complementary — #264F03:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #2B034F: #FFFFFF.

Semi-transparent (opacity) text on #2B034F

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

How #2B034F looks with color blindness

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

Protanopia · #1A193DDeuteranopia · #1C1F38Tritanopia · #292E2B

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

Palette 2a004e
#2A004E · #500073 · #C62300 · #F14A00
Palette 2e0249
#2E0249 · #570A57 · #A91079 · #F806CC
Palette 240750
#240750 · #344C64 · #577B8D · #57A6A1
Palette F7f6e5
#F7F6E5 · #76D2DB · #DA4848 · #36064D
Royal Plum
#240046 · #5A189A · #FF8500 · #FFD6A5
Royal Ruby Aurora
#230C51 · #4E096B · #CB1EBC · #670A3B

Similar colors

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

#2A004E#2E0249#240750#36064D#240046#230C51#2A0944#2D0943#27005D#200D4E#280A42#2D1351

Browse neighbouring colors

← #2B034E  ·  #2B0350 →

Frequently asked questions

What color is #2B034F?

#2B034F is Deep Vivid Purple, a purple color (RGB 43, 3, 79). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #2B034F?

#2B034F is RGB 43, 3, 79 — HSL 272°, 93%, 16% — CMYK 46%, 96%, 0%, 69%.

What colors go with #2B034F?

Its complement is #264F03; analogous partners are #05034F and #4F034C. It also appears in 6+ palettes in our collection.

Can I use #2B034F for text?

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