Maroon Colors  ·  Color Library

Palettes / Colors / #20006E

#20006E — Deep Vivid Purple

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

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

#20006E · RGB 32, 0, 110

Download PNG swatch SVG

Color values

HEX#20006E
RGB32, 0, 110
HSL257°, 100%, 22%
HSV257°, 100%, 43%
CMYK71%, 100%, 0%, 57%
XYZ3.41, 1.43, 14.85
Yxy1.43, 0.1732, 0.0728
CIE-Lab12.17, 43.47, -54.37
Hunter Lab11.97, 31.03, -68.35

RGB & CMYK percentages

Red 13% · Green 0% · Blue 43%

Cyan 71% · Magenta 100% · Yellow 0% · Key 57%

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

Previews

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

CSS code for #20006E

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

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

Shades of #20006E

#1D0066#1A005C#190057#16004D#130042#100038#0D002E#0C0029#09001F#060014

Tints of #20006E

#2A0094#3500BD#4000E0#500AFF#692EFF#8352FF#A07AFF#BA9EFF#D7C7FF#F0EBFF

Tones of #20006E

#230868#271060#2A1858#2E2050#312848#353040

Color harmonies

Complementary — #507000:

Analogous:

Triadic:

Contrast & accessibility

Against white text16.32:1 AAA
Against black text1.29:1 Fails

Best text color on #20006E: #FFFFFF.

Semi-transparent (opacity) text on #20006E

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

How #20006E looks with color blindness

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

Protanopia · #121253Deuteranopia · #14164DTritanopia · #1E3E3A

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

Palette 1c0770
#1C0770 · #261CC1 · #3A9AFF · #F1FF5E
Palette Fe7a36
#FE7A36 · #3652AD · #280274 · #E9F6FF
Palette 180161
#180161 · #4F1787 · #EB3678 · #FB773C
Palette 120078
#120078 · #9D0191 · #FD3A69 · #FECD1A
Palette 27005d
#27005D · #9400FF · #AED2FF · #E4F1FF
Palette 170c79
#170C79 · #EFE3CA · #56B6C6 · #8ACBD0

Similar colors

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

#1C0770#280274#180161#120078#27005D#170C79#0C056D#320A6B#211572#190482#251161#1C0C5B

Browse neighbouring colors

← #20006D  ·  #20006F →

Frequently asked questions

What color is #20006E?

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

What is the RGB and HSL of #20006E?

#20006E is RGB 32, 0, 110 — HSL 257°, 100%, 22% — CMYK 71%, 100%, 0%, 57%.

What colors go with #20006E?

Its complement is #507000; analogous partners are #001870 and #580070. It also appears in 6+ palettes in our collection.

Can I use #20006E for text?

White text on #20006E has a contrast ratio of 16.32:1 (passes WCAG AA); black text gives 1.29:1.