Maroon Colors  ·  Color Library

Palettes / Colors / #20005F

#20005F — Deep Vivid Purple

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

#20005F 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 #416100; it also sits naturally between #001061 and #510061. In the palettes below you can see it working alongside real color combinations from our collection.

#20005F · RGB 32, 0, 95

Download PNG swatch SVG

Color values

HEX#20005F
RGB32, 0, 95
HSL260°, 100%, 19%
HSV260°, 100%, 37%
CMYK66%, 100%, 0%, 63%
XYZ2.66, 1.13, 10.90
Yxy1.13, 0.1810, 0.0771
CIE-Lab10.06, 39.52, -47.96
Hunter Lab10.65, 26.98, -55.93

RGB & CMYK percentages

Red 13% · Green 0% · Blue 37%

Cyan 66% · Magenta 100% · Yellow 0% · Key 63%

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

Previews

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

CSS code for #20005F

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

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

Shades of #20005F

#1F005C#1B0052#19004D#160042#14003D#110033#0F002E#0C0024#0A001F#070014

Tints of #20005F

#2E008A#3A00AD#4700D6#5500FF#7029FF#884DFF#A375FF#BE9EFF#D6C2FF#F1EBFF

Tones of #20005F

#23075A#250E53#27154C#2A1C45#2C223F#2E2A37

Color harmonies

Complementary — #416100:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.12:1 AAA
Against black text1.23:1 Fails

Best text color on #20005F: #FFFFFF.

Semi-transparent (opacity) text on #20005F

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

How #20005F looks with color blindness

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

Protanopia · #121248Deuteranopia · #141643Tritanopia · #1E3632

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

Palette 27005d
#27005D · #9400FF · #AED2FF · #E4F1FF
Palette 180161
#180161 · #4F1787 · #EB3678 · #FB773C
Palette 1c0c5b
#1C0C5B · #3D2C8D · #916BBF · #C996CC
Gentle Ruby Cinder
#978AEA · #241297 · #190E5D · #10083F
Palette 240750
#240750 · #344C64 · #577B8D · #57A6A1
Vintage Cascade
#251161 · #5A116D · #6D154F · #E1253B

Similar colors

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

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

Browse neighbouring colors

← #20005E  ·  #200060 →

Frequently asked questions

What color is #20005F?

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

What is the RGB and HSL of #20005F?

#20005F is RGB 32, 0, 95 — HSL 260°, 100%, 19% — CMYK 66%, 100%, 0%, 63%.

What colors go with #20005F?

Its complement is #416100; analogous partners are #001061 and #510061. It also appears in 6+ palettes in our collection.

Can I use #20005F for text?

White text on #20005F has a contrast ratio of 17.12:1 (passes WCAG AA); black text gives 1.23:1.