Color: #521F7F

#521F7F Color Information

#521F7F is a dark color. The closest websafe version is #521F7F. A complement of this color would be #4C7F1F, perceived brightness is 0.22, and the grayscale version is #4F4F4F.

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

In a RGB color space, #521F7F is composed of 32% red, 12% green and 50% blue. Whereas in a CMYK color space, it is composed of 35% cyan, 76% magenta, 0% yellow and 50% black.

In the Yxy color space, this color is represented as Y: 4.15, x: 0.2701, and y: 0.1549.

Color Code #521F7F

HEX
#521F7F
RGB
rgb(82, 31, 127)
HSL
hsl(272, 61%, 31%)
HSV
hsv(272, 76%, 50%)
CMYK
35%, 76%, 0%, 50%
XYZ
X: 7.24, Y: 4.15, Z: 15.41
Lab
L: 24.15, a: 37.92, b: -45.09
Name

Shades of Color #521F7F

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

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

In the HSL color space, this color has a hue angle of 272°, a saturation of 61%, and a lightness of 31%. The HSV representation shows a hue of 272°, a saturation of 76%, and a value of 50%.

  • HEX: #521F7F
  • RGB: rgb(82, 31, 127)
  • HSL: hsl(272, 61%, 31%)
  • HSV: hsv(272, 76%, 50%)
  • CMYK: 35.00% cyan, 76.00% magenta, 0.00% yellow, 50.00% black
  • XYZ: 7.24, 4.15, 15.41
  • Yxy: 4.15, 0.2701, 0.1549
  • Hunter Lab: 24.15, 37.92, -45.09
  • CIE-Lab: 24.15, 37.92, -45.09

In the XYZ color space, this color is represented as X: 7.24, Y: 4.15, Z: 15.41. The Yxy representation further refines this as Y: 4.15, x: 0.2701, and y: 0.1549.

In the Hunter Lab color space, this color is represented as L: 24.15, a: 37.92, and b: -45.09. Similarly, in the CIE-Lab color space, it is represented as L: 24.15, a: 37.92, and b: -45.09.

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 #521F7F

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

Analogous Colors of #521F7F

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

Monochromatic Colors of #521F7F

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

Complementary Color of #521F7F

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

/* Using HEX */
body {
  background-color: #521f7f;
}
/* Using RGB */
body {
  background-color: rgb(82, 31, 127);
}
/* Using RGB with opacity */
body {
  background-color: rgba(82, 31, 127, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(272, 61%, 31%);
}
/* Text color */
p {
  color: #521f7f;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #521f7f;
}

HTML Examples of #521F7F

<!-- Using HEX -->
<div style="background-color: #521f7f; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(82, 31, 127); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(82, 31, 127, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(272, 61%, 31%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #521f7f;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #521f7f; width: 100px; height: 100px;"></div>

Related Colors of #521F7F

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