Color: #51313B
#51313B Color Information
#51313B is a dark color. The closest websafe version is #51313B. A complement of this color would be #305046, perceived brightness is 0.23, and the grayscale version is #414141.
In the HSL color space, this color has a hue angle of 341°,a saturation of 25%, and a lightness of 25%.The HSV representation shows a hue of 341°, a saturation of 40%, and a value of 32%.
In a RGB color space, #51313B is composed of 32% red, 19% green and 23% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 40% magenta, 27% yellow and 68% black.
In the Yxy color space, this color is represented as Y: 4.30, x: 0.4079, and y: 0.3248.
Color Code #51313B
Shades of Color #51313B
Shades are created by darkening the original color #51313B 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 #51313B
Tints are created by lightening the original color #51313B 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 #51313B Color Code
In the HSL color space, this color has a hue angle of 341°, a saturation of 25%, and a lightness of 25%. The HSV representation shows a hue of 341°, a saturation of 40%, and a value of 32%.
- HEX: #51313B
- RGB: rgb(81, 49, 59)
- HSL: hsl(341, 25%, 25%)
- HSV: hsv(341, 40%, 32%)
- CMYK: 0.00% cyan, 40.00% magenta, 27.00% yellow, 68.00% black
- XYZ: 5.40, 4.30, 3.54
- Yxy: 4.30, 0.4079, 0.3248
- Hunter Lab: 24.63, 16.12, 0.07
- CIE-Lab: 24.63, 16.12, 0.07
In the XYZ color space, this color is represented as X: 5.40, Y: 4.30, Z: 3.54. The Yxy representation further refines this as Y: 4.30, x: 0.4079, and y: 0.3248.
In the Hunter Lab color space, this color is represented as L: 24.63, a: 16.12, and b: 0.07. Similarly, in the CIE-Lab color space, it is represented as L: 24.63, a: 16.12, and b: 0.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 #51313B
Triadic colors are three colors evenly spaced around the color wheel, including #51313B. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #51313B
Split complementary colors are two colors adjacent to the complementary color of #51313B. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #51313B
Monochromatic colors are variations of #51313B, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #51313B
The complementary color of #51313B 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 #51313B
/* Using HEX */ body { background-color: #51313b; }
/* Using RGB */ body { background-color: rgb(81, 49, 59); }
/* Using RGB with opacity */ body { background-color: rgba(81, 49, 59, 0.5); }
/* Using HSL */ body { background-color: hsl(341, 25%, 25%); }
/* Text color */ p { color: #51313b; }
/* Box shadow */ div { box-shadow: 4px 4px #51313b; }
/* Border color */ .box { border: 4px solid #51313b; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #51313b; }
/* Background with text */ div { background: #51313b; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #51313B
<!-- Using HEX --> <div style="background-color: #51313b; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(81, 49, 59); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(81, 49, 59, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(341, 25%, 25%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #51313b;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #51313b; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #51313b; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #51313b;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #51313b; color: #fff; padding: 16px; border-radius: 8px;"> #51313B </div>
Related Colors of #51313B
These colors are similar to #51313B, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.