#4200CC

A medium, vivid purple closely aligning with Mediumblue.

About #4200CC

At its core, #4200CC is a medium and vivid hue. It is closely associated with the named CSS color Mediumblue. To achieve this exact tint on a monitor, you would use an RGB mix of 66, 0, and 204.

Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 68% cyan and 100% magenta inks. With a hue angle of 259.4 degrees, it sits comfortably in the purple spectrum.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#4200CC
RGB66, 0, 204
HSL259.4°, 100.0%, 40.0%
CMYK68%, 100%, 0%, 20%
HSV259.4°, 100.0%, 80.0%
LAB28.2, 68.2, -85.5
XYZ13.1, 5.5, 57.5
Decimal4325580

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

9.98:1
Text on #FFFFFF
AAA
2.10:1
Text on #000000
FAIL
9.54:1
Text on #F8FAFC
AAA
1.79:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #4200CC; }
.text-color { color: #4200CC; }
.border-color { border: 2px solid #4200CC; }

Similar Colors

Mediumblue
#0000CD