Maroon Colors  ·  Color Library

Palettes / Colors / #42016C

#42016C — Deep Vivid Purple

#42016C is a purple color we call Deep Vivid Purple, closest to the named color Indigo (#4B0082). It belongs to the purple family.

Color name

Closest CSS keyword: indigo (#4B0082) — not an exact match. CSS indigo gives you #4B0082, a different color; use #42016C 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.

#42016C 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 #2B6A01; it also sits naturally between #0C016A and #6A0160. In the palettes below you can see it working alongside real color combinations from our collection.

#42016C · RGB 66, 1, 108

Download PNG swatch SVG

Color values

HEX#42016C
RGB66, 1, 108
HSL276°, 98%, 21%
HSV276°, 99%, 42%
CMYK39%, 99%, 0%, 58%
XYZ4.96, 2.26, 14.36
Yxy2.26, 0.2299, 0.1048
CIE-Lab16.81, 45.48, -45.24
Hunter Lab15.04, 33.92, -48.70

RGB & CMYK percentages

Red 26% · Green 0% · Blue 42%

Cyan 39% · Magenta 99% · Yellow 0% · Key 58%

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

Previews

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

CSS code for #42016C

.text { color: #42016C; }
.background { background-color: #42016C; }
.border { border: 3px solid #42016C; }
.text-rgb { color: rgb(66, 1, 108); }
.text-hsl { color: hsl(276, 98%, 21%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #42016C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(66, 1, 108, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #42016C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(66, 1, 108, 0.8); }

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

Shades of #42016C

#3A0160#37015B#310151#2B0147#280142#220138#1B002D#150023#12001E#0C0014

Tints of #42016C

#580192#6E02B6#8602DE#9B08FD#AB30FD#B953FD#CA7CFE#D89FFE#E8C7FE#F7EBFF

Tones of #42016C

#3F0963#3D105B#3C1854#3A1F4C#392745#372E3D

Color harmonies

Complementary — #2B6A01:

Analogous:

Triadic:

Contrast & accessibility

Against white text14.46:1 AAA
Against black text1.45:1 Fails

Best text color on #42016C: #FFFFFF.

Semi-transparent (opacity) text on #42016C

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 #42016C: ·

How #42016C looks with color blindness

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

Protanopia · #262552Deuteranopia · #2A2E4CTritanopia · #3F3E39

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 zinc 600 · #52525B

Palettes with a similar color

These palettes use a close neighbour of #42016C rather than the exact color:

Palette 000000
#000000 · #150050 · #3F0071 · #610094
Palette 3b0270
#3B0270 · #6F00FF · #E9B3FB · #FFF1F1
Palette 440a67
#440A67 · #93329E · #B4AEE8 · #FFE3FE
Dusty Bloom
#431997 · #4D0968 · #E311CF · #E41A83
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:

#3F0071#3B0270#440A67#4D0968#4E096B#500073#471067#4B0F71#430A5D#320A6B#3D065A#3E1365

Browse neighbouring colors

← #42016B  ·  #42016D →

Frequently asked questions

What color is #42016C?

#42016C is Deep Vivid Purple, a purple color (RGB 66, 1, 108). Its closest standard named color is Indigo.

What is the RGB and HSL of #42016C?

#42016C is RGB 66, 1, 108 — HSL 276°, 98%, 21% — CMYK 39%, 99%, 0%, 58%.

What colors go with #42016C?

Its complement is #2B6A01; analogous partners are #0C016A and #6A0160. It also appears in 6+ palettes in our collection.

Can I use #42016C for text?

White text on #42016C has a contrast ratio of 14.46:1 (passes WCAG AA); black text gives 1.45:1.