In RGB color space, #5f2981 hex color has a red value of 95, a green value of 41 and a blue value of 129.
In CMYK color space (used in color printing), #5f2981 hex color is composed of 26.36% cyan, 68.22% magenta, 0% yellow and 49.41% black.
#5f2981 color has a hue of 276.8 degrees, a saturation of 51.76% and a lightness of 33.3%.
#5f2981 hex color contains mainly BLUE.
The closest web safe color of #5f2981 is #663399
#5f2981 hex color has a decimal value of 6236545.
HEX | 5f2981 | #5f2981 |
---|---|---|
RGB | 95, 41, 129 | rgb(95, 41, 129) |
RGB Percent | 37.25, 16.08, 50.59 | rgb(37.25, 16.08, 50.59) |
CMYK | 26, 68, 0, 49 | |
HSL | 276.8°, 51.76, 33.3 | hsl(276.8, 51.76%, 33.3%) |
HSV | 276.8°, 68.2, 50.6 |
XYZ | 9.475, 5.604, 21.351 |
---|---|
Hunter Lab | 23.673, 30.017, -36.904 |
CIE-LAB | 28.391, 40.499, -39.658 |
CIE-LCH | 28.391, 56.683, 315.601 |
CIE-LUV | 26.36, 68.22, 0, 49.41 |
Web Safe | 663399 |
RGB percent of color #5f2981
CMYK percent of color #5f2981
Text with hexadecimal color #5f2981
This text has a font color of #5f2981
<p style="color:#5f2981">Text here</p>
#5f2981 Background Color
This box has a background color of #5f2981
<div style="background-color:#5f2981">Text here</div>
#5f2981 Border Color
This box has a border color of #5f2981
<div style="border: 4px solid #5f2981">Text here</div>
CSS codes
<p style="color:#5f2981">Text here</p>
<div style="background-color:#5f2981">Text here</div>
<div style="border: 4px solid #5f2981">Text here</div>
#5f2981 Color on white background
This is how a font and box color of #5f2981 will look
on a white background.
#5f2981 Color on black background
This is how a font and box color of #5f2981 hex color will look
on a black background.