#42165F

A dark, moderate purple closely aligning with Midnightblue.

About #42165F

The hex code #42165F represents a beautifully specific shade of purple. Its closest recognized web color is Midnightblue. Its digital footprint relies on 66 parts red, 22 parts green, and 95 parts blue light.

Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 31% cyan and 77% magenta inks. Always request a physical proof before doing a large print run with this exact code.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#42165F
RGB66, 22, 95
HSL276.2°, 62.4%, 22.9%
CMYK31%, 77%, 0%, 63%
HSV276.2°, 76.8%, 37.3%
LAB18.2, 34.9, -34.4
XYZ4.6, 2.6, 11.1
Decimal4331103

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

13.89:1
Text on #FFFFFF
AAA
1.51:1
Text on #000000
FAIL
13.28:1
Text on #F8FAFC
AAA
1.29:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #42165F; }
.text-color { color: #42165F; }
.border-color { border: 2px solid #42165F; }

Similar Colors

Midnightblue
#191970