Maroon Colors  ·  Color Library

Palettes / Colors / #20007E

#20007E — Deep Vivid Purple

#20007E 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 #20007E 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.

#20007E 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 #608000; it also sits naturally between #002080 and #600080. In the palettes below you can see it working alongside real color combinations from our collection.

#20007E · RGB 32, 0, 126

Download PNG swatch SVG

Color values

HEX#20007E
RGB32, 0, 126
HSL255°, 100%, 25%
HSV255°, 100%, 49%
CMYK75%, 100%, 0%, 51%
XYZ4.36, 1.81, 19.86
Yxy1.81, 0.1675, 0.0697
CIE-Lab14.48, 47.65, -60.88
Hunter Lab13.47, 35.52, -81.77

RGB & CMYK percentages

Red 13% · Green 0% · Blue 49%

Cyan 75% · Magenta 100% · Yellow 0% · Key 51%

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

Previews

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

CSS code for #20007E

.text { color: #20007E; }
.background { background-color: #20007E; }
.border { border: 3px solid #20007E; }
.text-rgb { color: rgb(32, 0, 126); }
.text-hsl { color: hsl(255, 100%, 25%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #20007E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(32, 0, 126, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #20007E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(32, 0, 126, 0.8); }

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

Shades of #20007E

#1D0075#1B006B#180061#160057#13004D#0F003D#0D0033#0A0029#08001F#050014

Tints of #20007E

#2900A3#3200C7#3B00EB#4B0FFF#6A38FF#855CFF#9F80FF#BAA3FF#D5C7FF#F0EBFF

Tones of #20007E

#240977#29126D#2E1B64#32245B#372D52#3B3749

Color harmonies

Complementary — #608000:

Analogous:

Triadic:

Contrast & accessibility

Against white text15.41:1 AAA
Against black text1.36:1 Fails

Best text color on #20007E: #FFFFFF.

Semi-transparent (opacity) text on #20007E

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 #20007E: ·

How #20007E looks with color blindness

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

Protanopia · #121260Deuteranopia · #141658Tritanopia · #1E4742

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 #20007E rather than the exact color:

Palette 190482
#190482 · #7752FE · #8E8FFA · #C2D9FF
Palette Fe7a36
#FE7A36 · #3652AD · #280274 · #E9F6FF
Palette 120078
#120078 · #9D0191 · #FD3A69 · #FECD1A
Palette 170c79
#170C79 · #EFE3CA · #56B6C6 · #8ACBD0
Palette 1c0770
#1C0770 · #261CC1 · #3A9AFF · #F1FF5E
Royal Bloom
#0D825A · #28BDD6 · #195BC9 · #1C0F86

Similar colors

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

#190482#280274#120078#170C79#1C0770#1C0F86#22147F#2F0C88#271580#360185#1C1678#22177A

Browse neighbouring colors

← #20007D  ·  #20007F →

Frequently asked questions

What color is #20007E?

#20007E is Deep Vivid Purple, a purple color (RGB 32, 0, 126). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #20007E?

#20007E is RGB 32, 0, 126 — HSL 255°, 100%, 25% — CMYK 75%, 100%, 0%, 51%.

What colors go with #20007E?

Its complement is #608000; analogous partners are #002080 and #600080. It also appears in 6+ palettes in our collection.

Can I use #20007E for text?

White text on #20007E has a contrast ratio of 15.41:1 (passes WCAG AA); black text gives 1.36:1.