Maroon Colors  ·  Color Library

Palettes / Colors / #2B007A

#2B007A — Deep Vivid Purple

#2B007A is a purple color we call Deep Vivid Purple, closest to the named color MidnightBlue (#191970). It belongs to the purple family.

#2B007A 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 #507A00; it also sits naturally between #00127A and #68007A. In the palettes below you can see it working alongside real color combinations from our collection.

#2B007A · RGB 43, 0, 122

Download PNG swatch SVG

Color values

HEX#2B007A
RGB43, 0, 122
HSL261°, 100%, 24%
HSV261°, 100%, 48%
CMYK65%, 100%, 0%, 52%
XYZ4.51, 1.92, 18.55
Yxy1.92, 0.1806, 0.0768
CIE-Lab15.05, 47.15, -57.32
Hunter Lab13.85, 35.16, -73.14

RGB & CMYK percentages

Red 17% · Green 0% · Blue 48%

Cyan 65% · Magenta 100% · Yellow 0% · Key 52%

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

Previews

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

CSS code for #2B007A

.text { color: #2B007A; }
.background { background-color: #2B007A; }
.border { border: 3px solid #2B007A; }
.text-rgb { color: rgb(43, 0, 122); }
.text-hsl { color: hsl(261, 100%, 24%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2B007A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(43, 0, 122, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2B007A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(43, 0, 122, 0.8); }

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

Shades of #2B007A

#270070#240066#20005C#1D0052#190047#15003D#120033#0E0029#0B001F#070014

Tints of #2B007A

#37009E#4400C2#5200EB#630FFF#7A33FF#9257FF#A97AFF#C3A3FF#DBC7FF#F2EBFF

Tones of #2B007A

#2D0972#301269#331A60#352358#382B4F#3B3546

Color harmonies

Complementary — #507A00:

Analogous:

Triadic:

Contrast & accessibility

Against white text15.18:1 AAA
Against black text1.38:1 Fails

Best text color on #2B007A: #FFFFFF.

How #2B007A looks with color blindness

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

Protanopia · #18185CDeuteranopia · #1B1E55Tritanopia · #294540

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 slate 600 · #475569Tailwind gray 600 · #4B5563

Palettes with a similar color

These palettes use a close neighbour of #2B007A rather than the exact color:

Palette Fe7a36
#FE7A36 · #3652AD · #280274 · #E9F6FF
Palette 360185
#360185 · #8F0177 · #DE1A58 · #F4B342
Modern Orchard
#18438A · #0B0B7A · #360C7B · #8A14B0
Palette 360982
#360982 · #B72A67 · #FF9797 · #FDE8CB
Silent Ruby Terrace
#2F0C88 · #7357F0 · #C6F15A · #E2EF94
Palette 3b0270
#3B0270 · #6F00FF · #E9B3FB · #FFF1F1

Similar colors

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

#280274#360185#360C7B#360982#2F0C88#3B0270#1C0770#320A6B#190482#3F0071#3A1078#271580

Browse neighbouring colors

← #2B0079  ·  #2B007B →

Frequently asked questions

What color is #2B007A?

#2B007A is Deep Vivid Purple, a purple color (RGB 43, 0, 122). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #2B007A?

#2B007A is RGB 43, 0, 122 — HSL 261°, 100%, 24% — CMYK 65%, 100%, 0%, 52%.

What colors go with #2B007A?

Its complement is #507A00; analogous partners are #00127A and #68007A. It also appears in 6+ palettes in our collection.

Can I use #2B007A for text?

White text on #2B007A has a contrast ratio of 15.18:1 (passes WCAG AA); black text gives 1.38:1.