Color: #502D8E

#502D8E Color Information

#502D8E is a dark color. The closest websafe version is #502D8E. A complement of this color would be #6B8F2D, perceived brightness is 0.26, and the grayscale version is #5E5E5E.

In the HSL color space, this color has a hue angle of 262°,a saturation of 52%, and a lightness of 37%.The HSV representation shows a hue of 262°, a saturation of 100%, and a value of 100%.

In a RGB color space, #502D8E is composed of 31% red, 18% green and 56% blue. Whereas in a CMYK color space, it is composed of 44% cyan, 68% magenta, 0% yellow and 44% black.

In the Yxy color space, this color is represented as Y: 5.31, x: 0.2511, and y: 0.1591.

Color Code #502D8E

HEX
#502D8E
RGB
rgb(80, 45, 142)
HSL
hsl(262, 52%, 37%)
HSV
hsv(262, 68%, 56%)
CMYK
44%, 68%, 0%, 44%
XYZ
X: 8.38, Y: 5.31, Z: 19.68
Lab
L: 27.59, a: 33.58, b: -48.88
Name

Shades of Color #502D8E

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

Tints are created by lightening the original color #502D8E 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 #502D8E Color Code

In the HSL color space, this color has a hue angle of 262°, a saturation of 52%, and a lightness of 37%. The HSV representation shows a hue of 262°, a saturation of 68%, and a value of 56%.

  • HEX: #502D8E
  • RGB: rgb(80, 45, 142)
  • HSL: hsl(262, 52%, 37%)
  • HSV: hsv(262, 68%, 56%)
  • CMYK: 44.00% cyan, 68.00% magenta, 0.00% yellow, 44.00% black
  • XYZ: 8.38, 5.31, 19.68
  • Yxy: 5.31, 0.2511, 0.1591
  • Hunter Lab: 27.59, 33.58, -48.88
  • CIE-Lab: 27.59, 33.58, -48.88

In the XYZ color space, this color is represented as X: 8.38, Y: 5.31, Z: 19.68. The Yxy representation further refines this as Y: 5.31, x: 0.2511, and y: 0.1591.

In the Hunter Lab color space, this color is represented as L: 27.59, a: 33.58, and b: -48.88. Similarly, in the CIE-Lab color space, it is represented as L: 27.59, a: 33.58, and b: -48.88.

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 #502D8E

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

Analogous Colors of #502D8E

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

Monochromatic Colors of #502D8E

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

Complementary Color of #502D8E

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

/* Using HEX */
body {
  background-color: #502d8e;
}
/* Using RGB */
body {
  background-color: rgb(80, 45, 142);
}
/* Using RGB with opacity */
body {
  background-color: rgba(80, 45, 142, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(262, 52%, 37%);
}
/* Text color */
p {
  color: #502d8e;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #502d8e;
}

HTML Examples of #502D8E

<!-- Using HEX -->
<div style="background-color: #502d8e; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(80, 45, 142); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(80, 45, 142, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(262, 52%, 37%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #502d8e;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #502d8e; width: 100px; height: 100px;"></div>

Related Colors of #502D8E

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