#6642CC

A medium, moderate purple closely aligning with Mediumslateblue.

About #6642CC

The hex code #6642CC represents a beautifully specific shade of purple. It is closely associated with the named CSS color Mediumslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 102, 66, and 204.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 50% C, 68% M, 0% Y, and 20% K. The HSL representation is 255.7° hue, 57.5% saturation, and 52.9% lightness.

From a UX and accessibility standpoint, contrast is paramount. Because it is a medium color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#6642CC
RGB102, 66, 204
HSL255.7°, 57.5%, 52.9%
CMYK50%, 68%, 0%, 20%
HSV255.7°, 67.6%, 80.0%
LAB39.7, 48.7, -66.3
XYZ18.3, 11.1, 58.3
Decimal6701772

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.53:1
Text on #FFFFFF
AA
3.22:1
Text on #000000
AA Large
6.24:1
Text on #F8FAFC
AA
2.73:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE