In RGB color space, #2f1f5b hex color has a red value of 47, a green value of 31 and a blue value of 91.
In CMYK color space (used in color printing), #2f1f5b hex color is composed of 48.35% cyan, 65.93% magenta, 0% yellow and 64.31% black.
#2f1f5b color has a hue of 256 degrees, a saturation of 49.18% and a lightness of 23.9%.
#2f1f5b hex color contains mainly BLUE.
The closest web safe color of #2f1f5b is #333366
#2f1f5b hex color has a decimal value of 3088219.
HEX | 2f1f5b | #2f1f5b |
---|---|---|
RGB | 47, 31, 91 | rgb(47, 31, 91) |
RGB Percent | 18.43, 12.16, 35.69 | rgb(18.43, 12.16, 35.69) |
CMYK | 48, 66, 0, 64 | |
HSL | 256°, 49.18, 23.9 | hsl(256, 49.18%, 23.9%) |
HSV | 256°, 65.9, 35.7 |
XYZ | 3.551, 2.34, 10.162 |
---|---|
Hunter Lab | 15.297, 14.666, -28.679 |
CIE-LAB | 17.179, 24.137, -33.515 |
CIE-LCH | 17.179, 41.302, 305.761 |
CIE-LUV | 48.35, 65.93, 0, 64.31 |
Web Safe | 333366 |
RGB percent of color #2f1f5b
CMYK percent of color #2f1f5b
Text with hexadecimal color #2f1f5b
This text has a font color of #2f1f5b
<p style="color:#2f1f5b">Text here</p>
#2f1f5b Background Color
This box has a background color of #2f1f5b
<div style="background-color:#2f1f5b">Text here</div>
#2f1f5b Border Color
This box has a border color of #2f1f5b
<div style="border: 4px solid #2f1f5b">Text here</div>
CSS codes
<p style="color:#2f1f5b">Text here</p>
<div style="background-color:#2f1f5b">Text here</div>
<div style="border: 4px solid #2f1f5b">Text here</div>
#2f1f5b Color on white background
This is how a font and box color of #2f1f5b will look
on a white background.
#2f1f5b Color on black background
This is how a font and box color of #2f1f5b hex color will look
on a black background.