In RGB color space, #2d1f5c hex color has a red value of 45, a green value of 31 and a blue value of 92.
In CMYK color space (used in color printing), #2d1f5c hex color is composed of 51.09% cyan, 66.3% magenta, 0% yellow and 63.92% black.
#2d1f5c color has a hue of 253.8 degrees, a saturation of 49.59% and a lightness of 24.1%.
#2d1f5c hex color contains mainly BLUE.
The closest web safe color of #2d1f5c is #333366
#2d1f5c hex color has a decimal value of 2957148.
HEX | 2d1f5c | #2d1f5c |
---|---|---|
RGB | 45, 31, 92 | rgb(45, 31, 92) |
RGB Percent | 17.65, 12.16, 36.08 | rgb(17.65, 12.16, 36.08) |
CMYK | 51, 66, 0, 64 | |
HSL | 253.8°, 49.59, 24.1 | hsl(253.8, 49.59%, 24.1%) |
HSV | 253.8°, 66.3, 36.1 |
XYZ | 3.504, 2.311, 10.387 |
---|---|
Hunter Lab | 15.202, 14.54, -29.869 |
CIE-LAB | 17.041, 23.99, -34.417 |
CIE-LCH | 17.041, 41.953, 304.878 |
CIE-LUV | 51.09, 66.3, 0, 63.92 |
Web Safe | 333366 |
RGB percent of color #2d1f5c
CMYK percent of color #2d1f5c
Text with hexadecimal color #2d1f5c
This text has a font color of #2d1f5c
<p style="color:#2d1f5c">Text here</p>
#2d1f5c Background Color
This box has a background color of #2d1f5c
<div style="background-color:#2d1f5c">Text here</div>
#2d1f5c Border Color
This box has a border color of #2d1f5c
<div style="border: 4px solid #2d1f5c">Text here</div>
CSS codes
<p style="color:#2d1f5c">Text here</p>
<div style="background-color:#2d1f5c">Text here</div>
<div style="border: 4px solid #2d1f5c">Text here</div>
#2d1f5c Color on white background
This is how a font and box color of #2d1f5c will look
on a white background.
#2d1f5c Color on black background
This is how a font and box color of #2d1f5c hex color will look
on a black background.