#6D42DB
A medium, moderate purple closely aligning with Blueviolet.
About #6D42DB
The hex code #6D42DB represents a beautifully specific shade of purple. It is closely associated with the named CSS color Blueviolet. In the RGB color space, it consists of 109 red, 66 green, and 219 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 50% C, 70% M, 0% Y, and 14% K. With a hue angle of 256.9 degrees, it sits comfortably in the purple spectrum.
From a UX and accessibility standpoint, contrast is paramount. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#6D42DB
RGB109, 66, 219
HSL256.9°, 68.0%, 55.9%
CMYK50%, 70%, 0%, 14%
HSV256.9°, 69.9%, 85.9%
LAB41.6, 54.1, -71.8
XYZ21.0, 12.3, 68.3
Decimal7160539
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.08:1
Text on #FFFFFF
AA
3.45:1
Text on #000000
AA Large
5.81:1
Text on #F8FAFC
AA
2.93:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #6D42DB;
}
.text-color {
color: #6D42DB;
}
.border-color {
border: 2px solid #6D42DB;
}