Color: #AF508C

#AF508C Color Information

#AF508C is a dark color. The closest websafe version is #AF508C. A complement of this color would be #50AF73, perceived brightness is 0.45, and the grayscale version is #808080.

In the HSL color space, this color has a hue angle of 322°,a saturation of 37%, and a lightness of 50%.The HSV representation shows a hue of 322°, a saturation of 54%, and a value of 69%.

In a RGB color space, #AF508C is composed of 69% red, 31% green and 55% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 54% magenta, 20% yellow and 31% black.

In the Yxy color space, this color is represented as Y: 16.88, x: 0.4084, and y: 0.2700.

Color Code #AF508C

#AF508Crgb(175, 80, 140)
HEX
#AF508C
RGB
rgb(175, 80, 140)
HSL
hsl(322, 37%, 50%)
HSV
hsv(322, 54%, 69%)
CMYK
0%, 54%, 20%, 31%
XYZ
X: 25.54, Y: 16.88, Z: 20.11
Lab
L: 48.11, a: 44.76, b: -14.38
Name

Shades of Color #AF508C

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

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

#AF508Crgb(175, 80, 140)

About #AF508C Color Code

In the HSL color space, this color has a hue angle of 322°, a saturation of 37%, and a lightness of 50%. The HSV representation shows a hue of 322°, a saturation of 54%, and a value of 69%.

  • HEX: #AF508C
  • RGB: rgb(175, 80, 140)
  • HSL: hsl(322, 37%, 50%)
  • HSV: hsv(322, 54%, 69%)
  • CMYK: 0.00% cyan, 54.00% magenta, 20.00% yellow, 31.00% black
  • XYZ: 25.54, 16.88, 20.11
  • Yxy: 16.88, 0.4084, 0.2700
  • Hunter Lab: 48.11, 44.76, -14.38
  • CIE-Lab: 48.11, 44.76, -14.38

In the XYZ color space, this color is represented as X: 25.54, Y: 16.88, Z: 20.11. The Yxy representation further refines this as Y: 16.88, x: 0.4084, and y: 0.2700.

In the Hunter Lab color space, this color is represented as L: 48.11, a: 44.76, and b: -14.38. Similarly, in the CIE-Lab color space, it is represented as L: 48.11, a: 44.76, and b: -14.38.

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

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

Analogous Colors of #AF508C

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

Split Complementary Colors of #AF508C

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

Tetradic Colors of #AF508C

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

Monochromatic Colors of #AF508C

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

Complementary Color of #AF508C

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

/* Using HEX */
body {
  background-color: #af508c;
}
/* Using RGB */
body {
  background-color: rgb(175, 80, 140);
}
/* Using RGB with opacity */
body {
  background-color: rgba(175, 80, 140, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(322, 37%, 50%);
}
/* Text color */
p {
  color: #af508c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #af508c;
}
/* Border color */
.box {
  border: 4px solid #af508c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #af508c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #af508c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AF508C
On Black Background
#AF508C
On White Background
#AF508C

HTML Examples of #AF508C

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

Related Colors of #AF508C

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