Color: #521A4E

#521A4E Color Information

#521A4E is a dark color. The closest websafe version is #521A4E. A complement of this color would be #1A511D, perceived brightness is 0.19, and the grayscale version is #363636.

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

In a RGB color space, #521A4E is composed of 32% red, 10% green and 31% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 68% magenta, 5% yellow and 68% black.

In the Yxy color space, this color is represented as Y: 3.08, x: 0.3717, and y: 0.2214.

Color Code #521A4E

#521A4Ergb(82, 26, 78)
HEX
#521A4E
RGB
rgb(82, 26, 78)
HSL
hsl(304, 52%, 21%)
HSV
hsv(304, 68%, 32%)
CMYK
0%, 68%, 5%, 68%
XYZ
X: 5.17, Y: 3.08, Z: 5.66
Lab
L: 20.36, a: 31.78, b: -19.17
Name

Shades of Color #521A4E

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

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

#521A4Ergb(82, 26, 78)

About #521A4E Color Code

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

  • HEX: #521A4E
  • RGB: rgb(82, 26, 78)
  • HSL: hsl(304, 52%, 21%)
  • HSV: hsv(304, 68%, 32%)
  • CMYK: 0.00% cyan, 68.00% magenta, 5.00% yellow, 68.00% black
  • XYZ: 5.17, 3.08, 5.66
  • Yxy: 3.08, 0.3717, 0.2214
  • Hunter Lab: 20.36, 31.78, -19.17
  • CIE-Lab: 20.36, 31.78, -19.17

In the XYZ color space, this color is represented as X: 5.17, Y: 3.08, Z: 5.66. The Yxy representation further refines this as Y: 3.08, x: 0.3717, and y: 0.2214.

In the Hunter Lab color space, this color is represented as L: 20.36, a: 31.78, and b: -19.17. Similarly, in the CIE-Lab color space, it is represented as L: 20.36, a: 31.78, and b: -19.17.

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

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

Analogous Colors of #521A4E

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

Split Complementary Colors of #521A4E

Split complementary colors are two colors adjacent to the complementary color of #521A4E. They create a balanced and visually appealing color scheme.

Tetradic Colors of #521A4E

Tetradic colors form a rectangle on the color wheel, including #521A4E. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #521A4E

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

Complementary Color of #521A4E

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

/* Using HEX */
body {
  background-color: #521a4e;
}
/* Using RGB */
body {
  background-color: rgb(82, 26, 78);
}
/* Using RGB with opacity */
body {
  background-color: rgba(82, 26, 78, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(304, 52%, 21%);
}
/* Text color */
p {
  color: #521a4e;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #521a4e;
}
/* Border color */
.box {
  border: 4px solid #521a4e;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #521a4e;
}
Text Shadow Preview
/* Background with text */
div {
  background: #521a4e;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#521A4E
On Black Background
#521A4E
On White Background
#521A4E

HTML Examples of #521A4E

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

Related Colors of #521A4E

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