Maroon Colors  ·  Color Library

Palettes / Colors / #20005B

#20005B — Deep Vivid Purple

#20005B 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 #20005B 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.

#20005B 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 #3C5C00; it also sits naturally between #000E5C and #4E005C. In the palettes below you can see it working alongside real color combinations from our collection.

#20005B · RGB 32, 0, 91

Download PNG swatch SVG

Color values

HEX#20005B
RGB32, 0, 91
HSL261°, 100%, 18%
HSV261°, 100%, 36%
CMYK65%, 100%, 0%, 64%
XYZ2.48, 1.06, 9.97
Yxy1.06, 0.1838, 0.0786
CIE-Lab9.50, 38.46, -46.18
Hunter Lab10.31, 25.94, -52.65

RGB & CMYK percentages

Red 13% · Green 0% · Blue 36%

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

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

Previews

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

CSS code for #20005B

.text { color: #20005B; }
.background { background-color: #20005B; }
.border { border: 3px solid #20005B; }
.text-rgb { color: rgb(32, 0, 91); }
.text-hsl { color: hsl(261, 100%, 18%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #20005B; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(32, 0, 91, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #20005B; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(32, 0, 91, 0.8); }

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

Shades of #20005B

#1E0057#1B004D#190047#15003D#140038#120033#0E0029#0C0024#090019#070014

Tints of #20005B

#2E0085#3D00AD#4900D1#5700FA#7024FF#8B4DFF#A575FF#BD99FF#D7C2FF#F2EBFF

Tones of #20005B

#220655#240D4E#261448#281A42#2A213B#2C2734

Color harmonies

Complementary — #3C5C00:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.32:1 AAA
Against black text1.21:1 Fails

Best text color on #20005B: #FFFFFF.

Semi-transparent (opacity) text on #20005B

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 #20005B: ·

How #20005B looks with color blindness

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

Protanopia · #121245Deuteranopia · #141640Tritanopia · #1E3430

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 #20005B rather than the exact color:

Palette 27005d
#27005D · #9400FF · #AED2FF · #E4F1FF
Palette 180161
#180161 · #4F1787 · #EB3678 · #FB773C
Palette 1c0c5b
#1C0C5B · #3D2C8D · #916BBF · #C996CC
Palette 240750
#240750 · #344C64 · #577B8D · #57A6A1
Palette 000000
#000000 · #150050 · #3F0071 · #610094
Gentle Ruby Cinder
#978AEA · #241297 · #190E5D · #10083F

Similar colors

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

#27005D#180161#1C0C5B#240750#150050#190E5D#230C51#2A004E#200D4E#150E56#251161#310A5D

Browse neighbouring colors

← #20005A  ·  #20005C →

Frequently asked questions

What color is #20005B?

#20005B is Deep Vivid Purple, a purple color (RGB 32, 0, 91). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #20005B?

#20005B is RGB 32, 0, 91 — HSL 261°, 100%, 18% — CMYK 65%, 100%, 0%, 64%.

What colors go with #20005B?

Its complement is #3C5C00; analogous partners are #000E5C and #4E005C. It also appears in 6+ palettes in our collection.

Can I use #20005B for text?

White text on #20005B has a contrast ratio of 17.32:1 (passes WCAG AA); black text gives 1.21:1.