#CC42F8
A light, vivid magenta closely aligning with Darkviolet.
About #CC42F8
At its core, #CC42F8 is a light and vivid hue. It is closely associated with the named CSS color Darkviolet. Its digital footprint relies on 204 parts red, 66 parts green, and 248 parts blue light.
Translating this color to physical media requires the CMYK color model. The color uses 18% Cyan, 73% Magenta, 0% Yellow, and 3% Black. With a hue angle of 285.5 degrees, it sits comfortably in the magenta spectrum.
Ensuring your text is legible against this background is a key part of web design. Because it is a light color, it is generally recommended to use #000000 text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#CC42F8
RGB204, 66, 248
HSL285.5°, 92.9%, 61.6%
CMYK18%, 73%, 0%, 3%
HSV285.5°, 73.4%, 97.3%
LAB55.6, 77.6, -65.0
XYZ43.8, 23.5, 91.0
Decimal13386488
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.68:1
Text on #FFFFFF
AA Large
5.70:1
Text on #000000
AA
3.52:1
Text on #F8FAFC
AA Large
4.85:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #CC42F8;
}
.text-color {
color: #CC42F8;
}
.border-color {
border: 2px solid #CC42F8;
}