Color: #BA40B4

#BA40B4 Color Information

#BA40B4 is a dark color. The closest websafe version is #BA40B4. A complement of this color would be #40BA46, perceived brightness is 0.45, and the grayscale version is #7D7D7D.

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

In a RGB color space, #BA40B4 is composed of 73% red, 25% green and 71% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 66% magenta, 3% yellow and 27% black.

In the Yxy color space, this color is represented as Y: 17.37, x: 0.3691, and y: 0.2143.

Color Code #BA40B4

HEX
#BA40B4
RGB
rgb(186, 64, 180)
HSL
hsl(303, 49%, 49%)
HSV
hsv(303, 66%, 73%)
CMYK
0%, 66%, 3%, 27%
XYZ
X: 29.92, Y: 17.37, Z: 33.78
Lab
L: 48.72, a: 59.53, b: -36.91
Name

Shades of Color #BA40B4

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

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

In the HSL color space, this color has a hue angle of 303°, a saturation of 49%, and a lightness of 49%. The HSV representation shows a hue of 303°, a saturation of 66%, and a value of 73%.

  • HEX: #BA40B4
  • RGB: rgb(186, 64, 180)
  • HSL: hsl(303, 49%, 49%)
  • HSV: hsv(303, 66%, 73%)
  • CMYK: 0.00% cyan, 66.00% magenta, 3.00% yellow, 27.00% black
  • XYZ: 29.92, 17.37, 33.78
  • Yxy: 17.37, 0.3691, 0.2143
  • Hunter Lab: 48.72, 59.53, -36.91
  • CIE-Lab: 48.72, 59.53, -36.91

In the XYZ color space, this color is represented as X: 29.92, Y: 17.37, Z: 33.78. The Yxy representation further refines this as Y: 17.37, x: 0.3691, and y: 0.2143.

In the Hunter Lab color space, this color is represented as L: 48.72, a: 59.53, and b: -36.91. Similarly, in the CIE-Lab color space, it is represented as L: 48.72, a: 59.53, and b: -36.91.

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

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

Analogous Colors of #BA40B4

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

Monochromatic Colors of #BA40B4

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

Complementary Color of #BA40B4

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

/* Using HEX */
body {
  background-color: #ba40b4;
}
/* Using RGB */
body {
  background-color: rgb(186, 64, 180);
}
/* Using RGB with opacity */
body {
  background-color: rgba(186, 64, 180, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(303, 49%, 49%);
}
/* Text color */
p {
  color: #ba40b4;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #ba40b4;
}

HTML Examples of #BA40B4

<!-- Using HEX -->
<div style="background-color: #ba40b4; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(186, 64, 180); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(186, 64, 180, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(303, 49%, 49%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #ba40b4;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #ba40b4; width: 100px; height: 100px;"></div>

Related Colors of #BA40B4

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