In RGB color space, #5b0c9d hex color has a red value of 91, a green value of 12 and a blue value of 157.
In CMYK color space (used in color printing), #5b0c9d hex color is composed of 42.04% cyan, 92.36% magenta, 0% yellow and 38.43% black.
#5b0c9d color has a hue of 272.7 degrees, a saturation of 85.8% and a lightness of 33.1%.
#5b0c9d hex color contains mainly BLUE.
The closest web safe color of #5b0c9d is #660099
#5b0c9d hex color has a decimal value of 5967005.
HEX | 5b0c9d | #5b0c9d |
---|---|---|
RGB | 91, 12, 157 | rgb(91, 12, 157) |
RGB Percent | 35.69, 4.71, 61.57 | rgb(35.69, 4.71, 61.57) |
CMYK | 42, 92, 0, 38 | |
HSL | 272.7°, 85.8, 33.1 | hsl(272.7, 85.8%, 33.1%) |
HSV | 272.7°, 92.4, 61.6 |
XYZ | 10.532, 4.921, 32.293 |
---|---|
Hunter Lab | 22.183, 45.926, -70.782 |
CIE-LAB | 26.508, 56.93, -60.086 |
CIE-LCH | 26.508, 82.773, 313.455 |
CIE-LUV | 42.04, 92.36, 0, 38.43 |
Web Safe | 660099 |
RGB percent of color #5b0c9d
CMYK percent of color #5b0c9d
Text with hexadecimal color #5b0c9d
This text has a font color of #5b0c9d
<p style="color:#5b0c9d">Text here</p>
#5b0c9d Background Color
This box has a background color of #5b0c9d
<div style="background-color:#5b0c9d">Text here</div>
#5b0c9d Border Color
This box has a border color of #5b0c9d
<div style="border: 4px solid #5b0c9d">Text here</div>
CSS codes
<p style="color:#5b0c9d">Text here</p>
<div style="background-color:#5b0c9d">Text here</div>
<div style="border: 4px solid #5b0c9d">Text here</div>
#5b0c9d Color on white background
This is how a font and box color of #5b0c9d will look
on a white background.
#5b0c9d Color on black background
This is how a font and box color of #5b0c9d hex color will look
on a black background.