Color: #51285F

#51285F Color Information

#51285F is a dark color. The closest websafe version is #51285F. A complement of this color would be #355D27, perceived brightness is 0.23, and the grayscale version is #444444.

In the HSL color space, this color has a hue angle of 285°,a saturation of 41%, and a lightness of 26%.The HSV representation shows a hue of 285°, a saturation of 58%, and a value of 37%.

In a RGB color space, #51285F is composed of 32% red, 16% green and 37% blue. Whereas in a CMYK color space, it is composed of 15% cyan, 58% magenta, 0% yellow and 63% black.

In the Yxy color space, this color is represented as Y: 4.05, x: 0.3251, and y: 0.2180.

Color Code #51285F

#51285Frgb(81, 40, 95)
HEX
#51285F
RGB
rgb(81, 40, 95)
HSL
hsl(285, 41%, 26%)
HSV
hsv(285, 58%, 37%)
CMYK
15%, 58%, 0%, 63%
XYZ
X: 6.04, Y: 4.05, Z: 8.49
Lab
L: 23.82, a: 26.96, b: -25.07
Name

Shades of Color #51285F

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

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

#51285Frgb(81, 40, 95)

About #51285F Color Code

In the HSL color space, this color has a hue angle of 285°, a saturation of 41%, and a lightness of 26%. The HSV representation shows a hue of 285°, a saturation of 58%, and a value of 37%.

  • HEX: #51285F
  • RGB: rgb(81, 40, 95)
  • HSL: hsl(285, 41%, 26%)
  • HSV: hsv(285, 58%, 37%)
  • CMYK: 15.00% cyan, 58.00% magenta, 0.00% yellow, 63.00% black
  • XYZ: 6.04, 4.05, 8.49
  • Yxy: 4.05, 0.3251, 0.2180
  • Hunter Lab: 23.82, 26.96, -25.07
  • CIE-Lab: 23.82, 26.96, -25.07

In the XYZ color space, this color is represented as X: 6.04, Y: 4.05, Z: 8.49. The Yxy representation further refines this as Y: 4.05, x: 0.3251, and y: 0.2180.

In the Hunter Lab color space, this color is represented as L: 23.82, a: 26.96, and b: -25.07. Similarly, in the CIE-Lab color space, it is represented as L: 23.82, a: 26.96, and b: -25.07.

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 #51285F

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

Analogous Colors of #51285F

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

Split Complementary Colors of #51285F

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

Tetradic Colors of #51285F

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

Monochromatic Colors of #51285F

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

Complementary Color of #51285F

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

/* Using HEX */
body {
  background-color: #51285f;
}
/* Using RGB */
body {
  background-color: rgb(81, 40, 95);
}
/* Using RGB with opacity */
body {
  background-color: rgba(81, 40, 95, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(285, 41%, 26%);
}
/* Text color */
p {
  color: #51285f;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #51285f;
}
/* Border color */
.box {
  border: 4px solid #51285f;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #51285f;
}
Text Shadow Preview
/* Background with text */
div {
  background: #51285f;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#51285F
On Black Background
#51285F
On White Background
#51285F

HTML Examples of #51285F

<!-- Using HEX -->
<div style="background-color: #51285f; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(81, 40, 95); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(81, 40, 95, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(285, 41%, 26%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #51285f;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #51285f; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #51285f; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #51285f;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #51285f; color: #fff; padding: 16px; border-radius: 8px;">
  #51285F
</div>
#51285F
On Black Background
#51285F
On White Background
#51285F

Related Colors of #51285F

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