Maroon Colors  ·  Color Library

Palettes / Colors / #20006B

#20006B — Deep Vivid Purple

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

#20006B 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 #4B6B00; it also sits naturally between #00156B and #56006B. In the palettes below you can see it working alongside real color combinations from our collection.

#20006B · RGB 32, 0, 107

Download PNG swatch SVG

Color values

HEX#20006B
RGB32, 0, 107
HSL258°, 100%, 21%
HSV258°, 100%, 42%
CMYK70%, 100%, 0%, 58%
XYZ3.25, 1.37, 14.00
Yxy1.37, 0.1745, 0.0735
CIE-Lab11.75, 42.68, -53.11
Hunter Lab11.70, 30.21, -65.85

RGB & CMYK percentages

Red 13% · Green 0% · Blue 42%

Cyan 70% · Magenta 100% · Yellow 0% · Key 58%

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

Previews

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

CSS code for #20006B

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

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

Shades of #20006B

#1D0061#1C005C#180052#150047#140042#110038#0E002E#0B0024#09001F#060014

Tints of #20006B

#2C0094#3700B8#4300E0#5005FF#6D2EFF#8652FF#A27AFF#BB9EFF#D8C7FF#F1EBFF

Tones of #20006B

#230764#26105C#291754#2C1F4D#2F2645#332E3D

Color harmonies

Complementary — #4B6B00:

Analogous:

Triadic:

Contrast & accessibility

Against white text16.49:1 AAA
Against black text1.27:1 Fails

Best text color on #20006B: #FFFFFF.

Semi-transparent (opacity) text on #20006B

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

How #20006B looks with color blindness

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

Protanopia · #121251Deuteranopia · #14164BTritanopia · #1E3D38

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

Palette 1c0770
#1C0770 · #261CC1 · #3A9AFF · #F1FF5E
Palette Fe7a36
#FE7A36 · #3652AD · #280274 · #E9F6FF
Palette 180161
#180161 · #4F1787 · #EB3678 · #FB773C
Palette 27005d
#27005D · #9400FF · #AED2FF · #E4F1FF
Palette 120078
#120078 · #9D0191 · #FD3A69 · #FECD1A
Vintage Cascade
#251161 · #5A116D · #6D154F · #E1253B

Similar colors

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

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

Browse neighbouring colors

← #20006A  ·  #20006C →

Frequently asked questions

What color is #20006B?

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

What is the RGB and HSL of #20006B?

#20006B is RGB 32, 0, 107 — HSL 258°, 100%, 21% — CMYK 70%, 100%, 0%, 58%.

What colors go with #20006B?

Its complement is #4B6B00; analogous partners are #00156B and #56006B. It also appears in 6+ palettes in our collection.

Can I use #20006B for text?

White text on #20006B has a contrast ratio of 16.49:1 (passes WCAG AA); black text gives 1.27:1.