Color: #521C8D

#521C8D Color Information

#521C8D is a dark color. The closest websafe version is #521C8D. A complement of this color would be #568D1C, perceived brightness is 0.22, and the grayscale version is #555555.

In the HSL color space, this color has a hue angle of 269°,a saturation of 67%, and a lightness of 33%.The HSV representation shows a hue of 269°, a saturation of 80%, and a value of 55%.

In a RGB color space, #521C8D is composed of 32% red, 11% green and 55% blue. Whereas in a CMYK color space, it is composed of 42% cyan, 80% magenta, 0% yellow and 45% black.

In the Yxy color space, this color is represented as Y: 4.32, x: 0.2520, and y: 0.1371.

Color Code #521C8D

#521C8Drgb(82, 28, 141)
HEX
#521C8D
RGB
rgb(82, 28, 141)
HSL
hsl(269, 67%, 33%)
HSV
hsv(269, 80%, 55%)
CMYK
42%, 80%, 0%, 45%
XYZ
X: 7.94, Y: 4.32, Z: 19.25
Lab
L: 24.72, a: 42.01, b: -52.92
Name

Shades of Color #521C8D

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

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

#521C8Drgb(82, 28, 141)

About #521C8D Color Code

In the HSL color space, this color has a hue angle of 269°, a saturation of 67%, and a lightness of 33%. The HSV representation shows a hue of 269°, a saturation of 80%, and a value of 55%.

  • HEX: #521C8D
  • RGB: rgb(82, 28, 141)
  • HSL: hsl(269, 67%, 33%)
  • HSV: hsv(269, 80%, 55%)
  • CMYK: 42.00% cyan, 80.00% magenta, 0.00% yellow, 45.00% black
  • XYZ: 7.94, 4.32, 19.25
  • Yxy: 4.32, 0.2520, 0.1371
  • Hunter Lab: 24.72, 42.01, -52.92
  • CIE-Lab: 24.72, 42.01, -52.92

In the XYZ color space, this color is represented as X: 7.94, Y: 4.32, Z: 19.25. The Yxy representation further refines this as Y: 4.32, x: 0.2520, and y: 0.1371.

In the Hunter Lab color space, this color is represented as L: 24.72, a: 42.01, and b: -52.92. Similarly, in the CIE-Lab color space, it is represented as L: 24.72, a: 42.01, and b: -52.92.

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

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

Analogous Colors of #521C8D

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

Split Complementary Colors of #521C8D

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

Tetradic Colors of #521C8D

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

Monochromatic Colors of #521C8D

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

Complementary Color of #521C8D

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

/* Using HEX */
body {
  background-color: #521c8d;
}
/* Using RGB */
body {
  background-color: rgb(82, 28, 141);
}
/* Using RGB with opacity */
body {
  background-color: rgba(82, 28, 141, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(269, 67%, 33%);
}
/* Text color */
p {
  color: #521c8d;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #521c8d;
}
/* Border color */
.box {
  border: 4px solid #521c8d;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #521c8d;
}
Text Shadow Preview
/* Background with text */
div {
  background: #521c8d;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#521C8D
On Black Background
#521C8D
On White Background
#521C8D

HTML Examples of #521C8D

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

Related Colors of #521C8D

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