In RGB color space, #5f1f80 hex color has a red value of 95, a green value of 31 and a blue value of 128.
In CMYK color space (used in color printing), #5f1f80 hex color is composed of 25.78% cyan, 75.78% magenta, 0% yellow and 49.8% black.
#5f1f80 color has a hue of 279.6 degrees, a saturation of 61.01% and a lightness of 31.2%.
#5f1f80 hex color contains mainly BLUE.
The closest web safe color of #5f1f80 is #663399
#5f1f80 hex color has a decimal value of 6233984.
HEX | 5f1f80 | #5f1f80 |
---|---|---|
RGB | 95, 31, 128 | rgb(95, 31, 128) |
RGB Percent | 37.25, 12.16, 50.2 | rgb(37.25, 12.16, 50.2) |
CMYK | 26, 76, 0, 50 | |
HSL | 279.6°, 61.01, 31.2 | hsl(279.6, 61.01%, 31.2%) |
HSV | 279.6°, 75.8, 50.2 |
XYZ | 9.106, 4.971, 20.902 |
---|---|
Hunter Lab | 22.296, 33.885, -39.977 |
CIE-LAB | 26.652, 44.943, -41.836 |
CIE-LCH | 26.652, 61.401, 317.051 |
CIE-LUV | 25.78, 75.78, 0, 49.8 |
Web Safe | 663399 |
RGB percent of color #5f1f80
CMYK percent of color #5f1f80
Text with hexadecimal color #5f1f80
This text has a font color of #5f1f80
<p style="color:#5f1f80">Text here</p>
#5f1f80 Background Color
This box has a background color of #5f1f80
<div style="background-color:#5f1f80">Text here</div>
#5f1f80 Border Color
This box has a border color of #5f1f80
<div style="border: 4px solid #5f1f80">Text here</div>
CSS codes
<p style="color:#5f1f80">Text here</p>
<div style="background-color:#5f1f80">Text here</div>
<div style="border: 4px solid #5f1f80">Text here</div>
#5f1f80 Color on white background
This is how a font and box color of #5f1f80 will look
on a white background.
#5f1f80 Color on black background
This is how a font and box color of #5f1f80 hex color will look
on a black background.