In RGB color space, #340271 hex color has a red value of 52, a green value of 2 and a blue value of 113.
In CMYK color space (used in color printing), #340271 hex color is composed of 53.98% cyan, 98.23% magenta, 0% yellow and 55.69% black.
#340271 color has a hue of 267 degrees, a saturation of 96.52% and a lightness of 22.5%.
#340271 hex color contains mainly BLUE.
The closest web safe color of #340271 is #330066
#340271 hex color has a decimal value of 3408497.
HEX | 340271 | #340271 |
---|---|---|
RGB | 52, 2, 113 | rgb(52, 2, 113) |
RGB Percent | 20.39, 0.78, 44.31 | rgb(20.39, 0.78, 44.31) |
CMYK | 54, 98, 0, 56 | |
HSL | 267°, 96.52, 22.5 | hsl(267, 96.52%, 22.5%) |
HSV | 267°, 98.2, 44.3 |
XYZ | 4.419, 1.966, 15.769 |
---|---|
Hunter Lab | 14.021, 31.719, -56.865 |
CIE-LAB | 15.308, 44.842, -51.051 |
CIE-LCH | 15.308, 67.949, 311.295 |
CIE-LUV | 53.98, 98.23, 0, 55.69 |
Web Safe | 330066 |
RGB percent of color #340271
CMYK percent of color #340271
Text with hexadecimal color #340271
This text has a font color of #340271
<p style="color:#340271">Text here</p>
#340271 Background Color
This box has a background color of #340271
<div style="background-color:#340271">Text here</div>
#340271 Border Color
This box has a border color of #340271
<div style="border: 4px solid #340271">Text here</div>
CSS codes
<p style="color:#340271">Text here</p>
<div style="background-color:#340271">Text here</div>
<div style="border: 4px solid #340271">Text here</div>
#340271 Color on white background
This is how a font and box color of #340271 will look
on a white background.
#340271 Color on black background
This is how a font and box color of #340271 hex color will look
on a black background.