In RGB color space, #2f1981 hex color has a red value of 47, a green value of 25 and a blue value of 129.
In CMYK color space (used in color printing), #2f1981 hex color is composed of 63.57% cyan, 80.62% magenta, 0% yellow and 49.41% black.
#2f1981 color has a hue of 252.7 degrees, a saturation of 67.53% and a lightness of 30.2%.
#2f1981 hex color contains mainly BLUE.
The closest web safe color of #2f1981 is #330099
#2f1981 hex color has a decimal value of 3086721.
HEX | 2f1981 | #2f1981 |
---|---|---|
RGB | 47, 25, 129 | rgb(47, 25, 129) |
RGB Percent | 18.43, 9.8, 50.59 | rgb(18.43, 9.8, 50.59) |
CMYK | 64, 81, 0, 49 | |
HSL | 252.7°, 67.53, 30.2 | hsl(252.7, 67.53%, 30.2%) |
HSV | 252.7°, 80.6, 50.6 |
XYZ | 5.482, 2.885, 21.037 |
---|---|
Hunter Lab | 16.985, 27.887, -61.543 |
CIE-LAB | 19.577, 39.833, -54.281 |
CIE-LCH | 19.577, 67.328, 306.272 |
CIE-LUV | 63.57, 80.62, 0, 49.41 |
Web Safe | 330099 |
RGB percent of color #2f1981
CMYK percent of color #2f1981
Text with hexadecimal color #2f1981
This text has a font color of #2f1981
<p style="color:#2f1981">Text here</p>
#2f1981 Background Color
This box has a background color of #2f1981
<div style="background-color:#2f1981">Text here</div>
#2f1981 Border Color
This box has a border color of #2f1981
<div style="border: 4px solid #2f1981">Text here</div>
CSS codes
<p style="color:#2f1981">Text here</p>
<div style="background-color:#2f1981">Text here</div>
<div style="border: 4px solid #2f1981">Text here</div>
#2f1981 Color on white background
This is how a font and box color of #2f1981 will look
on a white background.
#2f1981 Color on black background
This is how a font and box color of #2f1981 hex color will look
on a black background.