Color: #D731CC
#D731CC Color Information
#D731CC is a dark color. The closest websafe version is #D731CC. A complement of this color would be #33D73E, perceived brightness is 0.46, and the grayscale version is #848484.
In the HSL color space, this color has a hue angle of 304°,a saturation of 67%, and a lightness of 52%.The HSV representation shows a hue of 304°, a saturation of 77%, and a value of 84%.
In a RGB color space, #D731CC is composed of 84% red, 19% green and 80% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 77% magenta, 5% yellow and 16% black.
In the Yxy color space, this color is represented as Y: 20.98, x: 0.3765, and y: 0.2002.
Color Code #D731CC
Shades of Color #D731CC
Shades are created by darkening the original color #D731CC 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 #D731CC
Tints are created by lightening the original color #D731CC 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 #D731CC Color Code
In the HSL color space, this color has a hue angle of 304°, a saturation of 67%, and a lightness of 52%. The HSV representation shows a hue of 304°, a saturation of 77%, and a value of 84%.
- HEX: #D731CC
- RGB: rgb(215, 49, 204)
- HSL: hsl(304, 67%, 52%)
- HSV: hsv(304, 77%, 84%)
- CMYK: 0.00% cyan, 77.00% magenta, 5.00% yellow, 16.00% black
- XYZ: 39.46, 20.98, 44.37
- Yxy: 20.98, 0.3765, 0.2002
- Hunter Lab: 52.93, 74.09, -43.79
- CIE-Lab: 52.93, 74.09, -43.79
In the XYZ color space, this color is represented as X: 39.46, Y: 20.98, Z: 44.37. The Yxy representation further refines this as Y: 20.98, x: 0.3765, and y: 0.2002.
In the Hunter Lab color space, this color is represented as L: 52.93, a: 74.09, and b: -43.79. Similarly, in the CIE-Lab color space, it is represented as L: 52.93, a: 74.09, and b: -43.79.
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 #D731CC
Triadic colors are three colors evenly spaced around the color wheel, including #D731CC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #D731CC
Monochromatic colors are variations of #D731CC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #D731CC
The complementary color of #D731CC 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 #D731CC
/* Using HEX */ body { background-color: #d731cc; }
/* Using RGB */ body { background-color: rgb(215, 49, 204); }
/* Using RGB with opacity */ body { background-color: rgba(215, 49, 204, 0.5); }
/* Using HSL */ body { background-color: hsl(304, 67%, 52%); }
/* Text color */ p { color: #d731cc; }
/* Box shadow */ div { box-shadow: 4px 4px #d731cc; }
/* Border color */ .box { border: 4px solid #d731cc; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #d731cc; }
/* Background with text */ div { background: #d731cc; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #D731CC
<!-- Using HEX --> <div style="background-color: #d731cc; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(215, 49, 204); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(215, 49, 204, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(304, 67%, 52%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #d731cc;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #d731cc; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #d731cc; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #d731cc;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #d731cc; color: #fff; padding: 16px; border-radius: 8px;"> #D731CC </div>
Related Colors of #D731CC
These colors are similar to #D731CC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.