Maroon Colors  ·  Color Library

Palettes / Colors / #2B044D

#2B044D — Deep Vivid Purple

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

#2B044D 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 #264E04; it also sits naturally between #07044E and #4E044B. In the palettes below you can see it working alongside real color combinations from our collection.

#2B044D · RGB 43, 4, 77

Download PNG swatch SVG

Color values

HEX#2B044D
RGB43, 4, 77
HSL272°, 90%, 16%
HSV272°, 95%, 30%
CMYK44%, 95%, 0%, 70%
XYZ2.38, 1.14, 7.12
Yxy1.14, 0.2238, 0.1069
CIE-Lab10.08, 33.86, -35.59
Hunter Lab10.66, 22.10, -33.95

RGB & CMYK percentages

Red 17% · Green 2% · Blue 30%

Cyan 44% · Magenta 95% · Yellow 0% · Key 70%

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

Previews

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

CSS code for #2B044D

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

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

Shades of #2B044D

#290449#260444#20033A#1E0335#1B0330#18022C#160227#10021D#0E0118#0B0113

Tints of #2B044D

#410674#56089B#6C0AC2#820CE9#962AF4#A951F6#BC77F8#CF9EFA#E2C5FC#F5ECFE

Tones of #2B044D

#2B0948#2B0F43#2A143E#2A1939#2A1E33#29232E

Color harmonies

Complementary — #264E04:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #2B044D: #FFFFFF.

Semi-transparent (opacity) text on #2B044D

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

How #2B044D looks with color blindness

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

Protanopia · #1A1A3BDeuteranopia · #1C1F37Tritanopia · #292D2A

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

Palette 2a004e
#2A004E · #500073 · #C62300 · #F14A00
Palette 2e0249
#2E0249 · #570A57 · #A91079 · #F806CC
Palette 240750
#240750 · #344C64 · #577B8D · #57A6A1
Palette 2a0944
#2A0944 · #3B185F · #A12568 · #FEC260
Royal Plum
#240046 · #5A189A · #FF8500 · #FFD6A5
Palette F7f6e5
#F7F6E5 · #76D2DB · #DA4848 · #36064D

Similar colors

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

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

Browse neighbouring colors

← #2B044C  ·  #2B044E →

Frequently asked questions

What color is #2B044D?

#2B044D is Deep Vivid Purple, a purple color (RGB 43, 4, 77). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #2B044D?

#2B044D is RGB 43, 4, 77 — HSL 272°, 90%, 16% — CMYK 44%, 95%, 0%, 70%.

What colors go with #2B044D?

Its complement is #264E04; analogous partners are #07044E and #4E044B. It also appears in 6+ palettes in our collection.

Can I use #2B044D for text?

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