In RGB color space, #2d1f8a hex color has a red value of 45, a green value of 31 and a blue value of 138.
In CMYK color space (used in color printing), #2d1f8a hex color is composed of 67.39% cyan, 77.54% magenta, 0% yellow and 45.88% black.
#2d1f8a color has a hue of 247.9 degrees, a saturation of 63.31% and a lightness of 33.1%.
#2d1f8a hex color contains mainly BLUE.
The closest web safe color of #2d1f8a is #333399
#2d1f8a hex color has a decimal value of 2957194.
HEX | 2d1f8a | #2d1f8a |
---|---|---|
RGB | 45, 31, 138 | rgb(45, 31, 138) |
RGB Percent | 17.65, 12.16, 54.12 | rgb(17.65, 12.16, 54.12) |
CMYK | 67, 78, 0, 46 | |
HSL | 247.9°, 63.31, 33.1 | hsl(247.9, 63.31%, 33.1%) |
HSV | 247.9°, 77.5, 54.1 |
XYZ | 6.16, 3.373, 24.371 |
---|---|
Hunter Lab | 18.366, 27.73, -65.821 |
CIE-LAB | 21.48, 39.29, -56.812 |
CIE-LCH | 21.48, 69.075, 304.667 |
CIE-LUV | 67.39, 77.54, 0, 45.88 |
Web Safe | 333399 |
RGB percent of color #2d1f8a
CMYK percent of color #2d1f8a
Text with hexadecimal color #2d1f8a
This text has a font color of #2d1f8a
<p style="color:#2d1f8a">Text here</p>
#2d1f8a Background Color
This box has a background color of #2d1f8a
<div style="background-color:#2d1f8a">Text here</div>
#2d1f8a Border Color
This box has a border color of #2d1f8a
<div style="border: 4px solid #2d1f8a">Text here</div>
CSS codes
<p style="color:#2d1f8a">Text here</p>
<div style="background-color:#2d1f8a">Text here</div>
<div style="border: 4px solid #2d1f8a">Text here</div>
#2d1f8a Color on white background
This is how a font and box color of #2d1f8a will look
on a white background.
#2d1f8a Color on black background
This is how a font and box color of #2d1f8a hex color will look
on a black background.