#42247C

A dark, moderate purple closely aligning with Midnightblue.

About #42247C

When working with digital screens, the color #42247C is rendered by mixing light. If you're using CSS, you might find it aligns closely with Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 66, 36, and 124.

If you are designing for print, the four-color process is what matters most. The color uses 47% Cyan, 71% Magenta, 0% Yellow, and 51% Black. With a hue angle of 260.5 degrees, it sits comfortably in the purple spectrum.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a dark color, it is generally recommended to use #FFFFFF text. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#42247C
RGB66, 36, 124
HSL260.5°, 55.0%, 31.4%
CMYK47%, 71%, 0%, 51%
HSV260.5°, 71.0%, 48.6%
LAB23.3, 35.4, -45.0
XYZ6.5, 3.9, 19.5
Decimal4334716

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

11.83:1
Text on #FFFFFF
AAA
1.78:1
Text on #000000
FAIL
11.31:1
Text on #F8FAFC
AAA
1.51:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #42247C; }
.text-color { color: #42247C; }
.border-color { border: 2px solid #42247C; }

Similar Colors

Midnightblue
#191970