#342040 Color Information
In a RGB color space, hex #342040 is composed of 20.4% red, 12.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 18.8% cyan, 50% magenta, 0% yellow and 74.9% black. It has a hue angle of 277.5 degrees, a saturation of 33.3% and a lightness of 18.8%. #342040 color hex could be obtained by blending #684080 with #000000. Closest websafe color is: #333333.
-
- R 20
- G 13
- B 25
-
- C 19
- M 50
- Y 0
- K 75
● #342040 color description : Very dark desaturated violet.
#342040 Color Conversion
The hexadecimal color #342040 has RGB values of R:52, G:32, B:64 and CMYK values of C:0.19, M:0.5, Y:0, K:0.75. Its decimal value is 3416128.
Hex triplet | 342040 | #342040 |
---|---|---|
RGB Decimal | 52, 32, 64 | rgb(52,32,64) |
RGB Percent | 20.4, 12.5, 25.1 | rgb(20.4%,12.5%,25.1%) |
CMYK | 19, 50, 0, 75 | |
HSL | 277.5°, 33.3, 18.8 | hsl(277.5,33.3%,18.8%) |
HSV (or HSB) | 277.5°, 50, 25.1 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 16.172, 16.809, -16.679 |
---|---|
XYZ | 2.858, 2.133, 5.111 |
xyY | 0.283, 0.211, 2.133 |
CIE-LCH | 16.172, 23.68, 315.222 |
CIE-LUV | 16.172, 6.291, -18.04 |
Hunter-Lab | 14.606, 9.367, -10.525 |
Binary | 00110100, 00100000, 01000000 |
Color Schemes with #342040
Alternatives to #342040
Below, you can see some colors close to #342040. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#342040 Preview
This text has a font color of #342040.
<span style="color:#342040;">Text here</span>
This paragraph has a background color of #342040.
<p style="background-color:#342040;">Content here</p>
This element has a border color of #342040.
<div style="border:1px solid #342040;">Content here</div>
.text {color:#342040;}
.background {background-color:#342040;}
.border {border:1px solid #342040;}
Shades and Tints of #342040
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, #0a060c is the darkest color, while #fefefe is the lightest one.
-
#0a060c
#0a060c
rgb(10,6,12)
-
#140c19
#140c19
rgb(20,12,25)
-
#1f1326
#1f1326
rgb(31,19,38)
-
#291933
#291933
rgb(41,25,51)
-
#342040
#342040
rgb(52,32,64)
-
#3f274d
#3f274d
rgb(63,39,77)
-
#492d5a
#492d5a
rgb(73,45,90)
-
#543467
#543467
rgb(84,52,103)
-
#5f3a74
#5f3a74
rgb(95,58,116)
-
#694181
#694181
rgb(105,65,129)
-
#74478e
#74478e
rgb(116,71,142)
-
#7e4e9c
#7e4e9c
rgb(126,78,156)
-
#8954a9
#8954a9
rgb(137,84,169)
-
#9261b0
#9261b0
rgb(146,97,176)
-
#9b6eb6
#9b6eb6
rgb(155,110,182)
-
#a47bbd
#a47bbd
rgb(164,123,189)
-
#ad88c3
#ad88c3
rgb(173,136,195)
-
#b695ca
#b695ca
rgb(182,149,202)
-
#bfa2d1
#bfa2d1
rgb(191,162,209)
-
#c8afd7
#c8afd7
rgb(200,175,215)
-
#d1bcde
#d1bcde
rgb(209,188,222)
-
#dac9e4
#dac9e4
rgb(218,201,228)
-
#e3d6eb
#e3d6eb
rgb(227,214,235)
-
#ece3f1
#ece3f1
rgb(236,227,241)
-
#f5f1f8
#f5f1f8
rgb(245,241,248)
-
#fefefe
#fefefe
rgb(254,254,254)
Tones of #342040
A tone is produced by adding gray to any pure hue. In this case, #302f31 is the less saturated color, while #3b025e is the most saturated one.
-
#302f31
#302f31
rgb(48,47,49)
-
#312b35
#312b35
rgb(49,43,53)
-
#322739
#322739
rgb(50,39,57)
-
#33243c
#33243c
rgb(51,36,60)
-
#342040
#342040
rgb(52,32,64)
-
#351c44
#351c44
rgb(53,28,68)
-
#361947
#361947
rgb(54,25,71)
-
#37154b
#37154b
rgb(55,21,75)
-
#38114f
#38114f
rgb(56,17,79)
-
#390e52
#390e52
rgb(57,14,82)
-
#3a0a56
#3a0a56
rgb(58,10,86)
-
#3a065a
#3a065a
rgb(58,6,90)
-
#3b025e
#3b025e
rgb(59,2,94)
Color Blindness Simulator
Below, you can see how #342040 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.