In RGB color space, #5a1b40 hex color has a red value of 90, a green value of 27 and a blue value of 64.
In CMYK color space (used in color printing), #5a1b40 hex color is composed of 0% cyan, 70% magenta, 28.89% yellow and 64.71% black.
#5a1b40 color has a hue of 324.8 degrees, a saturation of 53.85% and a lightness of 22.9%.
#5a1b40 hex color contains mainly RED.
The closest web safe color of #5a1b40 is #663333
#5a1b40 hex color has a decimal value of 5905216.
HEX | 5a1b40 | #5a1b40 |
---|---|---|
RGB | 90, 27, 64 | rgb(90, 27, 64) |
RGB Percent | 35.29, 10.59, 25.1 | rgb(35.29, 10.59, 25.1) |
CMYK | 0, 70, 29, 65 | |
HSL | 324.8°, 53.85, 22.9 | hsl(324.8, 53.85%, 22.9%) |
HSV | 324.8°, 70, 35.3 |
XYZ | 5.534, 3.328, 5.201 |
---|---|
Hunter Lab | 18.243, 22.223, -4.134 |
CIE-LAB | 21.312, 32.963, -8.235 |
CIE-LCH | 21.312, 33.976, 345.973 |
CIE-LUV | 0, 70, 28.89, 64.71 |
Web Safe | 663333 |
RGB percent of color #5a1b40
CMYK percent of color #5a1b40
Text with hexadecimal color #5a1b40
This text has a font color of #5a1b40
<p style="color:#5a1b40">Text here</p>
#5a1b40 Background Color
This box has a background color of #5a1b40
<div style="background-color:#5a1b40">Text here</div>
#5a1b40 Border Color
This box has a border color of #5a1b40
<div style="border: 4px solid #5a1b40">Text here</div>
CSS codes
<p style="color:#5a1b40">Text here</p>
<div style="background-color:#5a1b40">Text here</div>
<div style="border: 4px solid #5a1b40">Text here</div>
#5a1b40 Color on white background
This is how a font and box color of #5a1b40 will look
on a white background.
#5a1b40 Color on black background
This is how a font and box color of #5a1b40 hex color will look
on a black background.