In RGB color space, #2f1271 hex color has a red value of 47, a green value of 18 and a blue value of 113.
In CMYK color space (used in color printing), #2f1271 hex color is composed of 58.41% cyan, 84.07% magenta, 0% yellow and 55.69% black.
#2f1271 color has a hue of 258.3 degrees, a saturation of 72.52% and a lightness of 25.7%.
#2f1271 hex color contains mainly BLUE.
The closest web safe color of #2f1271 is #330066
#2f1271 hex color has a decimal value of 3084913.
HEX | 2f1271 | #2f1271 |
---|---|---|
RGB | 47, 18, 113 | rgb(47, 18, 113) |
RGB Percent | 18.43, 7.06, 44.31 | rgb(18.43, 7.06, 44.31) |
CMYK | 58, 84, 0, 56 | |
HSL | 258.3°, 72.52, 25.7 | hsl(258.3, 72.52%, 25.7%) |
HSV | 258.3°, 84.1, 44.3 |
XYZ | 4.369, 2.229, 15.823 |
---|---|
Hunter Lab | 14.93, 26.108, -52.386 |
CIE-LAB | 16.646, 38.394, -48.863 |
CIE-LCH | 16.646, 62.143, 308.158 |
CIE-LUV | 58.41, 84.07, 0, 55.69 |
Web Safe | 330066 |
RGB percent of color #2f1271
CMYK percent of color #2f1271
Text with hexadecimal color #2f1271
This text has a font color of #2f1271
<p style="color:#2f1271">Text here</p>
#2f1271 Background Color
This box has a background color of #2f1271
<div style="background-color:#2f1271">Text here</div>
#2f1271 Border Color
This box has a border color of #2f1271
<div style="border: 4px solid #2f1271">Text here</div>
CSS codes
<p style="color:#2f1271">Text here</p>
<div style="background-color:#2f1271">Text here</div>
<div style="border: 4px solid #2f1271">Text here</div>
#2f1271 Color on white background
This is how a font and box color of #2f1271 will look
on a white background.
#2f1271 Color on black background
This is how a font and box color of #2f1271 hex color will look
on a black background.