In RGB color space, #5f2a9f hex color has a red value of 95, a green value of 42 and a blue value of 159.
In CMYK color space (used in color printing), #5f2a9f hex color is composed of 40.25% cyan, 73.58% magenta, 0% yellow and 37.65% black.
#5f2a9f color has a hue of 267.2 degrees, a saturation of 58.21% and a lightness of 39.4%.
#5f2a9f hex color contains mainly BLUE.
The closest web safe color of #5f2a9f is #663399
#5f2a9f hex color has a decimal value of 6236831.
HEX | 5f2a9f | #5f2a9f |
---|---|---|
RGB | 95, 42, 159 | rgb(95, 42, 159) |
RGB Percent | 37.25, 16.47, 62.35 | rgb(37.25, 16.47, 62.35) |
CMYK | 40, 74, 0, 38 | |
HSL | 267.2°, 58.21, 39.4 | hsl(267.2, 58.21%, 39.4%) |
HSV | 267.2°, 73.6, 62.4 |
XYZ | 11.805, 6.592, 33.451 |
---|---|
Hunter Lab | 25.675, 37.141, -59.275 |
CIE-LAB | 30.859, 47.486, -54.16 |
CIE-LCH | 30.859, 72.029, 311.243 |
CIE-LUV | 40.25, 73.58, 0, 37.65 |
Web Safe | 663399 |
RGB percent of color #5f2a9f
CMYK percent of color #5f2a9f
Text with hexadecimal color #5f2a9f
This text has a font color of #5f2a9f
<p style="color:#5f2a9f">Text here</p>
#5f2a9f Background Color
This box has a background color of #5f2a9f
<div style="background-color:#5f2a9f">Text here</div>
#5f2a9f Border Color
This box has a border color of #5f2a9f
<div style="border: 4px solid #5f2a9f">Text here</div>
CSS codes
<p style="color:#5f2a9f">Text here</p>
<div style="background-color:#5f2a9f">Text here</div>
<div style="border: 4px solid #5f2a9f">Text here</div>
#5f2a9f Color on white background
This is how a font and box color of #5f2a9f will look
on a white background.
#5f2a9f Color on black background
This is how a font and box color of #5f2a9f hex color will look
on a black background.