In RGB color space, #2a1540 hex color has a red value of 42, a green value of 21 and a blue value of 64.
In CMYK color space (used in color printing), #2a1540 hex color is composed of 34.38% cyan, 67.19% magenta, 0% yellow and 74.9% black.
#2a1540 color has a hue of 269.3 degrees, a saturation of 50.59% and a lightness of 16.7%.
#2a1540 hex color contains mainly BLUE.
The closest web safe color of #2a1540 is #330033
#2a1540 hex color has a decimal value of 2757952.
HEX | 2a1540 | #2a1540 |
---|---|---|
RGB | 42, 21, 64 | rgb(42, 21, 64) |
RGB Percent | 16.47, 8.24, 25.1 | rgb(16.47, 8.24, 25.1) |
CMYK | 34, 67, 0, 75 | |
HSL | 269.3°, 50.59, 16.7 | hsl(269.3, 50.59%, 16.7%) |
HSV | 269.3°, 67.2, 25.1 |
XYZ | 2.148, 1.399, 5.007 |
---|---|
Hunter Lab | 11.828, 11.717, -16.819 |
CIE-LAB | 11.951, 20.884, -23.462 |
CIE-LCH | 11.951, 31.41, 311.673 |
CIE-LUV | 34.38, 67.19, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #2a1540
CMYK percent of color #2a1540
Text with hexadecimal color #2a1540
This text has a font color of #2a1540
<p style="color:#2a1540">Text here</p>
#2a1540 Background Color
This box has a background color of #2a1540
<div style="background-color:#2a1540">Text here</div>
#2a1540 Border Color
This box has a border color of #2a1540
<div style="border: 4px solid #2a1540">Text here</div>
CSS codes
<p style="color:#2a1540">Text here</p>
<div style="background-color:#2a1540">Text here</div>
<div style="border: 4px solid #2a1540">Text here</div>
#2a1540 Color on white background
This is how a font and box color of #2a1540 will look
on a white background.
#2a1540 Color on black background
This is how a font and box color of #2a1540 hex color will look
on a black background.