Color: #CC42DF
#CC42DF Color Information
#CC42DF is a dark color. The closest websafe version is #CC42DF. A complement of this color would be #56DF43, perceived brightness is 0.49, and the grayscale version is #909090.
In the HSL color space, this color has a hue angle of 293°,a saturation of 71%, and a lightness of 57%.The HSV representation shows a hue of 293°, a saturation of 70%, and a value of 87%.
In a RGB color space, #CC42DF is composed of 80% red, 26% green and 87% blue. Whereas in a CMYK color space, it is composed of 9% cyan, 70% magenta, 0% yellow and 13% black.
In the Yxy color space, this color is represented as Y: 21.81, x: 0.3394, and y: 0.1899.
Color Code #CC42DF
Shades of Color #CC42DF
Shades are created by darkening the original color #CC42DF in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.
Tints of Color #CC42DF
Tints are created by lightening the original color #CC42DF in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.
About #CC42DF Color Code
In the HSL color space, this color has a hue angle of 293°, a saturation of 71%, and a lightness of 57%. The HSV representation shows a hue of 293°, a saturation of 70%, and a value of 87%.
- HEX: #CC42DF
- RGB: rgb(204, 66, 223)
- HSL: hsl(293, 71%, 57%)
- HSV: hsv(293, 70%, 87%)
- CMYK: 9.00% cyan, 70.00% magenta, 0.00% yellow, 13.00% black
- XYZ: 38.99, 21.81, 54.07
- Yxy: 21.81, 0.3394, 0.1899
- Hunter Lab: 53.83, 68.74, -53.32
- CIE-Lab: 53.83, 68.74, -53.32
In the XYZ color space, this color is represented as X: 38.99, Y: 21.81, Z: 54.07. The Yxy representation further refines this as Y: 21.81, x: 0.3394, and y: 0.1899.
In the Hunter Lab color space, this color is represented as L: 53.83, a: 68.74, and b: -53.32. Similarly, in the CIE-Lab color space, it is represented as L: 53.83, a: 68.74, and b: -53.32.
Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.
Triadic Colors of #CC42DF
Triadic colors are three colors evenly spaced around the color wheel, including #CC42DF. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #CC42DF
Split complementary colors are two colors adjacent to the complementary color of #CC42DF. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #CC42DF
Monochromatic colors are variations of #CC42DF, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #CC42DF
The complementary color of #CC42DF is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.
CSS Examples of #CC42DF
/* Using HEX */ body { background-color: #cc42df; }
/* Using RGB */ body { background-color: rgb(204, 66, 223); }
/* Using RGB with opacity */ body { background-color: rgba(204, 66, 223, 0.5); }
/* Using HSL */ body { background-color: hsl(293, 71%, 57%); }
/* Text color */ p { color: #cc42df; }
/* Box shadow */ div { box-shadow: 4px 4px #cc42df; }
/* Border color */ .box { border: 4px solid #cc42df; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #cc42df; }
/* Background with text */ div { background: #cc42df; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #CC42DF
<!-- Using HEX --> <div style="background-color: #cc42df; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(204, 66, 223); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(204, 66, 223, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(293, 71%, 57%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #cc42df;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #cc42df; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #cc42df; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #cc42df;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #cc42df; color: #fff; padding: 16px; border-radius: 8px;"> #CC42DF </div>
Related Colors of #CC42DF
These colors are similar to #CC42DF, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.