#6D42CC

A medium, moderate purple closely aligning with Mediumslateblue.

About #6D42CC

The precise color #6D42CC is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Mediumslateblue. Its digital footprint relies on 109 parts red, 66 parts green, and 204 parts blue light.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 47% cyan and 68% magenta inks. The HSL representation is 258.7° hue, 57.5% saturation, and 52.9% lightness.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#6D42CC
RGB109, 66, 204
HSL258.7°, 57.5%, 52.9%
CMYK47%, 68%, 0%, 20%
HSV258.7°, 67.6%, 80.0%
LAB40.4, 49.9, -65.2
XYZ19.2, 11.5, 58.3
Decimal7160524

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.36:1
Text on #FFFFFF
AA
3.30:1
Text on #000000
AA Large
6.08:1
Text on #F8FAFC
AA
2.81:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #6D42CC; }
.text-color { color: #6D42CC; }
.border-color { border: 2px solid #6D42CC; }

Similar Colors

Mediumslateblue
#7B68EE