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.
Color values
| HEX | #2B007A |
|---|---|
| RGB | 43, 0, 122 |
| HSL | 261°, 100%, 24% |
| HSV | 261°, 100%, 48% |
| CMYK | 65%, 100%, 0%, 52% |
| XYZ | 4.51, 1.92, 18.55 |
| Yxy | 1.92, 0.1806, 0.0768 |
| CIE-Lab | 15.05, 47.15, -57.32 |
| Hunter Lab | 13.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
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
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
Tints of #2B007A
Tones of #2B007A
Color harmonies
Complementary — #507A00:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 15.18:1 AAA |
|---|---|
| Against black text | 1.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:
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:
Palettes with a similar color
These palettes use a close neighbour of #2B007A rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
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.