In RGB color space, #5f28a7 hex color has a red value of 95, a green value of 40 and a blue value of 167.
In CMYK color space (used in color printing), #5f28a7 hex color is composed of 43.11% cyan, 76.05% magenta, 0% yellow and 34.51% black.
#5f28a7 color has a hue of 266 degrees, a saturation of 61.35% and a lightness of 40.6%.
#5f28a7 hex color contains mainly BLUE.
The closest web safe color of #5f28a7 is #663399
#5f28a7 hex color has a decimal value of 6236327.
HEX | 5f28a7 | #5f28a7 |
---|---|---|
RGB | 95, 40, 167 | rgb(95, 40, 167) |
RGB Percent | 37.25, 15.69, 65.49 | rgb(37.25, 15.69, 65.49) |
CMYK | 43, 76, 0, 35 | |
HSL | 266°, 61.35, 40.6 | hsl(266, 61.35%, 40.6%) |
HSV | 266°, 76, 65.5 |
XYZ | 12.453, 6.741, 37.204 |
---|---|
Hunter Lab | 25.963, 40.179, -66.785 |
CIE-LAB | 31.21, 50.459, -58.425 |
CIE-LCH | 31.21, 77.198, 310.816 |
CIE-LUV | 43.11, 76.05, 0, 34.51 |
Web Safe | 663399 |
RGB percent of color #5f28a7
CMYK percent of color #5f28a7
Text with hexadecimal color #5f28a7
This text has a font color of #5f28a7
<p style="color:#5f28a7">Text here</p>
#5f28a7 Background Color
This box has a background color of #5f28a7
<div style="background-color:#5f28a7">Text here</div>
#5f28a7 Border Color
This box has a border color of #5f28a7
<div style="border: 4px solid #5f28a7">Text here</div>
CSS codes
<p style="color:#5f28a7">Text here</p>
<div style="background-color:#5f28a7">Text here</div>
<div style="border: 4px solid #5f28a7">Text here</div>
#5f28a7 Color on white background
This is how a font and box color of #5f28a7 will look
on a white background.
#5f28a7 Color on black background
This is how a font and box color of #5f28a7 hex color will look
on a black background.