Maroon Colors  ·  Color Library

Palettes / Colors / #22015A

#22015A — Deep Vivid Purple

#22015A 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 #22015A 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.

#22015A 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 #3A5B01; it also sits naturally between #010D5B and #4F015B. In the palettes below you can see it working alongside real color combinations from our collection.

#22015A · RGB 34, 1, 90

Download PNG swatch SVG

Color values

HEX#22015A
RGB34, 1, 90
HSL262°, 98%, 18%
HSV262°, 99%, 35%
CMYK62%, 99%, 0%, 65%
XYZ2.52, 1.10, 9.75
Yxy1.10, 0.1882, 0.0823
CIE-Lab9.80, 37.82, -45.01
Hunter Lab10.49, 25.43, -50.22

RGB & CMYK percentages

Red 13% · Green 0% · Blue 35%

Cyan 62% · Magenta 99% · Yellow 0% · Key 65%

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

Previews

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

CSS code for #22015A

.text { color: #22015A; }
.background { background-color: #22015A; }
.border { border: 3px solid #22015A; }
.text-rgb { color: rgb(34, 1, 90); }
.text-hsl { color: hsl(262, 98%, 18%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #22015A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(34, 1, 90, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #22015A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(34, 1, 90, 0.8); }

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

Shades of #22015A

#200156#1C014C#1A0147#17013D#150138#130132#0F0028#0D0023#090019#080014

Tints of #22015A

#310183#4002AC#4D02CF#5C02F7#7526FD#8E4EFD#A877FE#BF9AFE#D8C2FE#F2EBFF

Tones of #22015A

#240754#250E4E#271448#291B41#2A213B#2C2734

Color harmonies

Complementary — #3A5B01:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #22015A: #FFFFFF.

Semi-transparent (opacity) text on #22015A

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 #22015A: ·

How #22015A looks with color blindness

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

Protanopia · #141344Deuteranopia · #16183FTritanopia · #203330

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 #22015A rather than the exact color:

Palette 27005d
#27005D · #9400FF · #AED2FF · #E4F1FF
Palette 240750
#240750 · #344C64 · #577B8D · #57A6A1
Palette 180161
#180161 · #4F1787 · #EB3678 · #FB773C
Palette 1c0c5b
#1C0C5B · #3D2C8D · #916BBF · #C996CC
Royal Ruby Aurora
#230C51 · #4E096B · #CB1EBC · #670A3B
Palette 2a004e
#2A004E · #500073 · #C62300 · #F14A00

Similar colors

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

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

Browse neighbouring colors

← #220159  ·  #22015B →

Frequently asked questions

What color is #22015A?

#22015A is Deep Vivid Purple, a purple color (RGB 34, 1, 90). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #22015A?

#22015A is RGB 34, 1, 90 — HSL 262°, 98%, 18% — CMYK 62%, 99%, 0%, 65%.

What colors go with #22015A?

Its complement is #3A5B01; analogous partners are #010D5B and #4F015B. It also appears in 6+ palettes in our collection.

Can I use #22015A for text?

White text on #22015A has a contrast ratio of 17.21:1 (passes WCAG AA); black text gives 1.22:1.