In RGB color space, #340f42 hex color has a red value of 52, a green value of 15 and a blue value of 66.
In CMYK color space (used in color printing), #340f42 hex color is composed of 21.21% cyan, 77.27% magenta, 0% yellow and 74.12% black.
#340f42 color has a hue of 283.5 degrees, a saturation of 62.96% and a lightness of 15.9%.
#340f42 hex color contains mainly BLUE.
The closest web safe color of #340f42 is #330033
#340f42 hex color has a decimal value of 3411778.
HEX | 340f42 | #340f42 |
---|---|---|
RGB | 52, 15, 66 | rgb(52, 15, 66) |
RGB Percent | 20.39, 5.88, 25.88 | rgb(20.39, 5.88, 25.88) |
CMYK | 21, 77, 0, 74 | |
HSL | 283.5°, 62.96, 15.9 | hsl(283.5, 62.96%, 15.9%) |
HSV | 283.5°, 77.3, 25.9 |
XYZ | 2.57, 1.465, 5.302 |
---|---|
Hunter Lab | 12.104, 16.72, -17.499 |
CIE-LAB | 12.384, 27.729, -24.096 |
CIE-LCH | 12.384, 36.736, 319.01 |
CIE-LUV | 21.21, 77.27, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #340f42
CMYK percent of color #340f42
Text with hexadecimal color #340f42
This text has a font color of #340f42
<p style="color:#340f42">Text here</p>
#340f42 Background Color
This box has a background color of #340f42
<div style="background-color:#340f42">Text here</div>
#340f42 Border Color
This box has a border color of #340f42
<div style="border: 4px solid #340f42">Text here</div>
CSS codes
<p style="color:#340f42">Text here</p>
<div style="background-color:#340f42">Text here</div>
<div style="border: 4px solid #340f42">Text here</div>
#340f42 Color on white background
This is how a font and box color of #340f42 will look
on a white background.
#340f42 Color on black background
This is how a font and box color of #340f42 hex color will look
on a black background.