In RGB color space, #6840d1 hex color has a red value of 104, a green value of 64 and a blue value of 209.
In CMYK color space (used in color printing), #6840d1 hex color is composed of 50.24% cyan, 69.38% magenta, 0% yellow and 18.04% black.
#6840d1 color has a hue of 256.6 degrees, a saturation of 61.18% and a lightness of 53.5%.
#6840d1 hex color contains mainly BLUE.
The closest web safe color of #6840d1 is #6633cc
#6840d1 hex color has a decimal value of 6832337.
HEX | 6840d1 | #6840d1 |
---|---|---|
RGB | 104, 64, 209 | rgb(104, 64, 209) |
RGB Percent | 40.78, 25.1, 81.96 | rgb(40.78, 25.1, 81.96) |
CMYK | 50, 69, 0, 18 | |
HSL | 256.6°, 61.18, 53.5 | hsl(256.6, 61.18%, 53.5%) |
HSV | 256.6°, 69.4, 82 |
XYZ | 19.051, 11.213, 61.482 |
---|---|
Hunter Lab | 33.486, 42.953, -85.42 |
CIE-LAB | 39.937, 51.507, -68.865 |
CIE-LCH | 39.937, 85.996, 306.794 |
CIE-LUV | 50.24, 69.38, 0, 18.04 |
Web Safe | 6633cc |
RGB percent of color #6840d1
CMYK percent of color #6840d1
Text with hexadecimal color #6840d1
This text has a font color of #6840d1
<p style="color:#6840d1">Text here</p>
#6840d1 Background Color
This box has a background color of #6840d1
<div style="background-color:#6840d1">Text here</div>
#6840d1 Border Color
This box has a border color of #6840d1
<div style="border: 4px solid #6840d1">Text here</div>
CSS codes
<p style="color:#6840d1">Text here</p>
<div style="background-color:#6840d1">Text here</div>
<div style="border: 4px solid #6840d1">Text here</div>
#6840d1 Color on white background
This is how a font and box color of #6840d1 will look
on a white background.
#6840d1 Color on black background
This is how a font and box color of #6840d1 hex color will look
on a black background.