In RGB color space, #5f2a7b hex color has a red value of 95, a green value of 42 and a blue value of 123.
In CMYK color space (used in color printing), #5f2a7b hex color is composed of 22.76% cyan, 65.85% magenta, 0% yellow and 51.76% black.
#5f2a7b color has a hue of 279.3 degrees, a saturation of 49.09% and a lightness of 32.4%.
#5f2a7b hex color contains mainly BLUE.
The closest web safe color of #5f2a7b is #663366
#5f2a7b hex color has a decimal value of 6236795.
HEX | 5f2a7b | #5f2a7b |
---|---|---|
RGB | 95, 42, 123 | rgb(95, 42, 123) |
RGB Percent | 37.25, 16.47, 48.24 | rgb(37.25, 16.47, 48.24) |
CMYK | 23, 66, 0, 52 | |
HSL | 279.3°, 49.09, 32.4 | hsl(279.3, 49.09%, 32.4%) |
HSV | 279.3°, 65.9, 48.2 |
XYZ | 9.122, 5.519, 19.323 |
---|---|
Hunter Lab | 23.493, 28.198, -32.322 |
CIE-LAB | 28.165, 38.556, -36.245 |
CIE-LCH | 28.165, 52.918, 316.77 |
CIE-LUV | 22.76, 65.85, 0, 51.76 |
Web Safe | 663366 |
RGB percent of color #5f2a7b
CMYK percent of color #5f2a7b
Text with hexadecimal color #5f2a7b
This text has a font color of #5f2a7b
<p style="color:#5f2a7b">Text here</p>
#5f2a7b Background Color
This box has a background color of #5f2a7b
<div style="background-color:#5f2a7b">Text here</div>
#5f2a7b Border Color
This box has a border color of #5f2a7b
<div style="border: 4px solid #5f2a7b">Text here</div>
CSS codes
<p style="color:#5f2a7b">Text here</p>
<div style="background-color:#5f2a7b">Text here</div>
<div style="border: 4px solid #5f2a7b">Text here</div>
#5f2a7b Color on white background
This is how a font and box color of #5f2a7b will look
on a white background.
#5f2a7b Color on black background
This is how a font and box color of #5f2a7b hex color will look
on a black background.