#6840b9 hex color
In a RGB color space, hex #6840b9 is composed of 40.8% red, 25.1% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 43.8% cyan, 65.4% magenta, 0% yellow and 27.5% black. It has a hue angle of 259.8 degrees, a saturation of 48.6% and a lightness of 48.8%. #6840b9 color hex could be obtained by blending #d080ff with #000073. Closest websafe color is: #6633cc.
-
- R 41
- G 25
- B 73
RGB color chart
-
- C 44
- M 65
- Y 0
- K 27
CMYK color chart
● #6840b9 color description : Moderate violet.
The hexadecimal color #6840b9 has RGB values of R:104, G:64, B:185 and CMYK values of C:0.44, M:0.65, Y:0, K:0.27. Its decimal value is 6832313.
Hex triplet | 6840b9 | #6840b9 |
---|---|---|
RGB Decimal | 104, 64, 185 | rgb(104,64,185) |
RGB Percent | 40.8, 25.1, 72.5 | rgb(40.8%,25.1%,72.5%) |
CMYK | 44, 65, 0, 27 | |
HSL | 259.8°, 48.6, 48.8 | hsl(259.8,48.6%,48.8%) |
HSV (or HSB) | 259.8°, 65.4, 72.5 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 38.044, 44.833, -57.961 |
---|---|
XYZ | 16.298, 10.112, 46.99 |
xyY | 0.222, 0.138, 10.112 |
CIE-LCH | 38.044, 73.276, 307.722 |
CIE-LUV | 38.044, 6.511, -85.933 |
Hunter-Lab | 31.8, 35.832, -65.35 |
Binary | 01101000, 01000000, 10111001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #6840b9. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #6840b9
This text has a font color of #6840b9.
<span style="color:#6840b9;">Text here</span>
#6840b9 background color
This paragraph has a background color of #6840b9.
<p style="background-color:#6840b9;">Content here</p>
#6840b9 border color
This element has a border color of #6840b9.
<div style="border:1px solid #6840b9;">Content here</div>
CSS codes
.text {color:#6840b9;}
.background {background-color:#6840b9;}
.border {border:1px solid #6840b9;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #06030a is the darkest color, while #fcfbfd is the lightest one.
-
#06030a
#06030a
rgb(6,3,10)
-
#0e0919
#0e0919
rgb(14,9,25)
-
#160e27
#160e27
rgb(22,14,39)
-
#1e1336
#1e1336
rgb(30,19,54)
-
#261844
#261844
rgb(38,24,68)
-
#2f1d53
#2f1d53
rgb(47,29,83)
-
#372262
#372262
rgb(55,34,98)
-
#3f2770
#3f2770
rgb(63,39,112)
-
#472c7f
#472c7f
rgb(71,44,127)
-
#4f318d
#4f318d
rgb(79,49,141)
-
#58369c
#58369c
rgb(88,54,156)
-
#603baa
#603baa
rgb(96,59,170)
-
#6840b9
#6840b9
rgb(104,64,185)
Shade Color Variation
-
#724cc1
#724cc1
rgb(114,76,193)
-
#7e5ac6
#7e5ac6
rgb(126,90,198)
-
#8969cb
#8969cb
rgb(137,105,203)
-
#9577d0
#9577d0
rgb(149,119,208)
-
#a086d5
#a086d5
rgb(160,134,213)
-
#ac95da
#ac95da
rgb(172,149,218)
-
#b7a3df
#b7a3df
rgb(183,163,223)
-
#c2b2e4
#c2b2e4
rgb(194,178,228)
-
#cec0e9
#cec0e9
rgb(206,192,233)
-
#d9cfee
#d9cfee
rgb(217,207,238)
-
#e5ddf3
#e5ddf3
rgb(229,221,243)
-
#f0ecf8
#f0ecf8
rgb(240,236,248)
-
#fcfbfd
#fcfbfd
rgb(252,251,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7b7980 is the less saturated color, while #5507f2 is the most saturated one.
-
#7b7980
#7b7980
rgb(123,121,128)
-
#787089
#787089
rgb(120,112,137)
-
#756693
#756693
rgb(117,102,147)
-
#725d9c
#725d9c
rgb(114,93,156)
-
#6e53a6
#6e53a6
rgb(110,83,166)
-
#6b4aaf
#6b4aaf
rgb(107,74,175)
-
#6840b9
#6840b9
rgb(104,64,185)
-
#6536c3
#6536c3
rgb(101,54,195)
-
#622dcc
#622dcc
rgb(98,45,204)
-
#5e23d6
#5e23d6
rgb(94,35,214)
-
#5b1adf
#5b1adf
rgb(91,26,223)
-
#5810e9
#5810e9
rgb(88,16,233)
-
#5507f2
#5507f2
rgb(85,7,242)
Tone Color Variation
Below, you can see how #6840b9 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy