In RGB color space, #5f2b9b hex color has a red value of 95, a green value of 43 and a blue value of 155.
In CMYK color space (used in color printing), #5f2b9b hex color is composed of 38.71% cyan, 72.26% magenta, 0% yellow and 39.22% black.
#5f2b9b color has a hue of 267.9 degrees, a saturation of 56.57% and a lightness of 38.8%.
#5f2b9b hex color contains mainly BLUE.
The closest web safe color of #5f2b9b is #663399
#5f2b9b hex color has a decimal value of 6237083.
HEX | 5f2b9b | #5f2b9b |
---|---|---|
RGB | 95, 43, 155 | rgb(95, 43, 155) |
RGB Percent | 37.25, 16.86, 60.78 | rgb(37.25, 16.86, 60.78) |
CMYK | 39, 72, 0, 39 | |
HSL | 267.9°, 56.57, 38.8 | hsl(267.9, 56.57%, 38.8%) |
HSV | 267.9°, 72.3, 60.8 |
XYZ | 11.5, 6.527, 31.664 |
---|---|
Hunter Lab | 25.548, 35.64, -55.6 |
CIE-LAB | 30.705, 45.985, -51.979 |
CIE-LCH | 30.705, 69.401, 311.499 |
CIE-LUV | 38.71, 72.26, 0, 39.22 |
Web Safe | 663399 |
RGB percent of color #5f2b9b
CMYK percent of color #5f2b9b
Text with hexadecimal color #5f2b9b
This text has a font color of #5f2b9b
<p style="color:#5f2b9b">Text here</p>
#5f2b9b Background Color
This box has a background color of #5f2b9b
<div style="background-color:#5f2b9b">Text here</div>
#5f2b9b Border Color
This box has a border color of #5f2b9b
<div style="border: 4px solid #5f2b9b">Text here</div>
CSS codes
<p style="color:#5f2b9b">Text here</p>
<div style="background-color:#5f2b9b">Text here</div>
<div style="border: 4px solid #5f2b9b">Text here</div>
#5f2b9b Color on white background
This is how a font and box color of #5f2b9b will look
on a white background.
#5f2b9b Color on black background
This is how a font and box color of #5f2b9b hex color will look
on a black background.