#340742 hex color
In a RGB color space, hex #340742 is composed of 20.4% red, 2.7% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 21.2% cyan, 89.4% magenta, 0% yellow and 74.1% black. It has a hue angle of 285.8 degrees, a saturation of 80.8% and a lightness of 14.3%. #340742 color hex could be obtained by blending #680e84 with #000000. Closest websafe color is: #330033.
-
- R 20
- G 3
- B 26
RGB color chart
-
- C 21
- M 89
- Y 0
- K 74
CMYK color chart
● #340742 color description : Very dark magenta.
The hexadecimal color #340742 has RGB values of R:52, G:7, B:66 and CMYK values of C:0.21, M:0.89, Y:0, K:0.74. Its decimal value is 3409730.
Hex triplet | 340742 | #340742 |
---|---|---|
RGB Decimal | 52, 7, 66 | rgb(52,7,66) |
RGB Percent | 20.4, 2.7, 25.9 | rgb(20.4%,2.7%,25.9%) |
CMYK | 21, 89, 0, 74 | |
HSL | 285.8°, 80.8, 14.3 | hsl(285.8,80.8%,14.3%) |
HSV (or HSB) | 285.8°, 89.4, 25.9 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 11.103, 31.386, -26.156 |
---|---|
XYZ | 2.475, 1.275, 5.27 |
xyY | 0.274, 0.141, 1.275 |
CIE-LCH | 11.103, 40.856, 320.193 |
CIE-LUV | 11.103, 9.64, -23.316 |
Hunter-Lab | 11.294, 19.36, -19.76 |
Binary | 00110100, 00000111, 01000010 |
Split Complementary Color
Below, you can see some colors close to #340742. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #340742
This text has a font color of #340742.
<span style="color:#340742;">Text here</span>
#340742 background color
This paragraph has a background color of #340742.
<p style="background-color:#340742;">Content here</p>
#340742 border color
This element has a border color of #340742.
<div style="border:1px solid #340742;">Content here</div>
CSS codes
.text {color:#340742;}
.background {background-color:#340742;}
.border {border:1px solid #340742;}
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, #0a010d is the darkest color, while #fdfafe is the lightest one.
-
#0a010d
#0a010d
rgb(10,1,13)
-
#18031f
#18031f
rgb(24,3,31)
-
#260530
#260530
rgb(38,5,48)
-
#340742
#340742
rgb(52,7,66)
-
#420954
#420954
rgb(66,9,84)
-
#500b65
#500b65
rgb(80,11,101)
-
#5e0d77
#5e0d77
rgb(94,13,119)
-
#6c0f89
#6c0f89
rgb(108,15,137)
-
#7a109b
#7a109b
rgb(122,16,155)
-
#8812ac
#8812ac
rgb(136,18,172)
-
#9614be
#9614be
rgb(150,20,190)
-
#a416d0
#a416d0
rgb(164,22,208)
-
#b218e2
#b218e2
rgb(178,24,226)
Shade Color Variation
-
#ba25e8
#ba25e8
rgb(186,37,232)
-
#bf37ea
#bf37ea
rgb(191,55,234)
-
#c549ec
#c549ec
rgb(197,73,236)
-
#cb5aee
#cb5aee
rgb(203,90,238)
-
#d06cef
#d06cef
rgb(208,108,239)
-
#d67ef1
#d67ef1
rgb(214,126,241)
-
#dc90f3
#dc90f3
rgb(220,144,243)
-
#e1a1f5
#e1a1f5
rgb(225,161,245)
-
#e7b3f7
#e7b3f7
rgb(231,179,247)
-
#edc5f9
#edc5f9
rgb(237,197,249)
-
#f2d7fb
#f2d7fb
rgb(242,215,251)
-
#f8e8fd
#f8e8fd
rgb(248,232,253)
-
#fdfafe
#fdfafe
rgb(253,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #252326 is the less saturated color, while #370148 is the most saturated one.
-
#252326
#252326
rgb(37,35,38)
-
#272029
#272029
rgb(39,32,41)
-
#281d2c
#281d2c
rgb(40,29,44)
-
#2a1b2e
#2a1b2e
rgb(42,27,46)
-
#2b1831
#2b1831
rgb(43,24,49)
-
#2d1534
#2d1534
rgb(45,21,52)
-
#2e1237
#2e1237
rgb(46,18,55)
-
#300f3a
#300f3a
rgb(48,15,58)
-
#310d3c
#310d3c
rgb(49,13,60)
-
#330a3f
#330a3f
rgb(51,10,63)
-
#340742
#340742
rgb(52,7,66)
-
#350445
#350445
rgb(53,4,69)
-
#370148
#370148
rgb(55,1,72)
Tone Color Variation
Below, you can see how #340742 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