Color: #D540CC

#D540CC Color Information

#D540CC is a dark color. The closest websafe version is #D540CC. A complement of this color would be #3FD549, perceived brightness is 0.49, and the grayscale version is #8B8B8B.

In the HSL color space, this color has a hue angle of 304°,a saturation of 64%, and a lightness of 54%.The HSV representation shows a hue of 304°, a saturation of 70%, and a value of 84%.

In a RGB color space, #D540CC is composed of 84% red, 25% green and 80% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 70% magenta, 4% yellow and 16% black.

In the Yxy color space, this color is represented as Y: 22.14, x: 0.3727, and y: 0.2082.

Color Code #D540CC

#D540CCrgb(213, 64, 204)
HEX
#D540CC
RGB
rgb(213, 64, 204)
HSL
hsl(304, 64%, 54%)
HSV
hsv(304, 70%, 84%)
CMYK
0%, 70%, 4%, 16%
XYZ
X: 39.63, Y: 22.14, Z: 44.55
Lab
L: 54.18, a: 69.27, b: -41.86
Name

Shades of Color #D540CC

Shades are created by darkening the original color #D540CC 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 #D540CC

Tints are created by lightening the original color #D540CC 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.

#D540CCrgb(213, 64, 204)

About #D540CC Color Code

In the HSL color space, this color has a hue angle of 304°, a saturation of 64%, and a lightness of 54%. The HSV representation shows a hue of 304°, a saturation of 70%, and a value of 84%.

  • HEX: #D540CC
  • RGB: rgb(213, 64, 204)
  • HSL: hsl(304, 64%, 54%)
  • HSV: hsv(304, 70%, 84%)
  • CMYK: 0.00% cyan, 70.00% magenta, 4.00% yellow, 16.00% black
  • XYZ: 39.63, 22.14, 44.55
  • Yxy: 22.14, 0.3727, 0.2082
  • Hunter Lab: 54.18, 69.27, -41.86
  • CIE-Lab: 54.18, 69.27, -41.86

In the XYZ color space, this color is represented as X: 39.63, Y: 22.14, Z: 44.55. The Yxy representation further refines this as Y: 22.14, x: 0.3727, and y: 0.2082.

In the Hunter Lab color space, this color is represented as L: 54.18, a: 69.27, and b: -41.86. Similarly, in the CIE-Lab color space, it is represented as L: 54.18, a: 69.27, and b: -41.86.

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 #D540CC

Triadic colors are three colors evenly spaced around the color wheel, including #D540CC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #D540CC

Analogous colors are adjacent to #D540CC on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #D540CC

Monochromatic colors are variations of #D540CC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #D540CC

The complementary color of #D540CC 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 #D540CC

/* Using HEX */
body {
  background-color: #d540cc;
}
/* Using RGB */
body {
  background-color: rgb(213, 64, 204);
}
/* Using RGB with opacity */
body {
  background-color: rgba(213, 64, 204, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(304, 64%, 54%);
}
/* Text color */
p {
  color: #d540cc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #d540cc;
}
/* Border color */
.box {
  border: 4px solid #d540cc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #d540cc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #d540cc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#D540CC
On Black Background
#D540CC
On White Background
#D540CC

HTML Examples of #D540CC

<!-- Using HEX -->
<div style="background-color: #d540cc; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(213, 64, 204); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(213, 64, 204, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(304, 64%, 54%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #d540cc;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #d540cc; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #d540cc; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #d540cc;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #d540cc; color: #fff; padding: 16px; border-radius: 8px;">
  #D540CC
</div>
#D540CC
On Black Background
#D540CC
On White Background
#D540CC

Related Colors of #D540CC

These colors are similar to #D540CC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.