#340aa2 hex color
In a RGB color space, hex #340aa2 is composed of 20.4% red, 3.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 67.9% cyan, 93.8% magenta, 0% yellow and 36.5% black. It has a hue angle of 256.6 degrees, a saturation of 88.4% and a lightness of 33.7%. #340aa2 color hex could be obtained by blending #6814ff with #000045. Closest websafe color is: #330099.
-
- R 20
- G 4
- B 64
RGB color chart
-
- C 68
- M 94
- Y 0
- K 36
CMYK color chart
● #340aa2 color description : Dark violet.
The hexadecimal color #340aa2 has RGB values of R:52, G:10, B:162 and CMYK values of C:0.68, M:0.94, Y:0, K:0.36. Its decimal value is 3410594.
Hex triplet | 340aa2 | #340aa2 |
---|---|---|
RGB Decimal | 52, 10, 162 | rgb(52,10,162) |
RGB Percent | 20.4, 3.9, 63.5 | rgb(20.4%,3.9%,63.5%) |
CMYK | 68, 94, 0, 36 | |
HSL | 256.6°, 88.4, 33.7 | hsl(256.6,88.4%,33.7%) |
HSV (or HSB) | 256.6°, 93.8, 63.5 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 22.144, 55.121, -70.508 |
---|---|
XYZ | 8.045, 3.555, 34.443 |
xyY | 0.175, 0.077, 3.555 |
CIE-LCH | 22.144, 89.497, 308.017 |
CIE-LUV | 22.144, -0.708, -78.892 |
Hunter-Lab | 18.856, 43.161, -95.102 |
Binary | 00110100, 00001010, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #340aa2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #340aa2
This text has a font color of #340aa2.
<span style="color:#340aa2;">Text here</span>
#340aa2 background color
This paragraph has a background color of #340aa2.
<p style="background-color:#340aa2;">Content here</p>
#340aa2 border color
This element has a border color of #340aa2.
<div style="border:1px solid #340aa2;">Content here</div>
CSS codes
.text {color:#340aa2;}
.background {background-color:#340aa2;}
.border {border:1px solid #340aa2;}
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, #05010e is the darkest color, while #fcfbff is the lightest one.
-
#05010e
#05010e
rgb(5,1,14)
-
#0a0221
#0a0221
rgb(10,2,33)
-
#100333
#100333
rgb(16,3,51)
-
#160446
#160446
rgb(22,4,70)
-
#1c0558
#1c0558
rgb(28,5,88)
-
#22076b
#22076b
rgb(34,7,107)
-
#28087d
#28087d
rgb(40,8,125)
-
#2e0990
#2e0990
rgb(46,9,144)
-
#340aa2
#340aa2
rgb(52,10,162)
-
#3a0bb4
#3a0bb4
rgb(58,11,180)
-
#400cc7
#400cc7
rgb(64,12,199)
-
#460dd9
#460dd9
rgb(70,13,217)
-
#4c0fec
#4c0fec
rgb(76,15,236)
Shade Color Variation
-
#581df1
#581df1
rgb(88,29,241)
-
#6530f2
#6530f2
rgb(101,48,242)
-
#7342f3
#7342f3
rgb(115,66,243)
-
#8154f4
#8154f4
rgb(129,84,244)
-
#8e67f6
#8e67f6
rgb(142,103,246)
-
#9c79f7
#9c79f7
rgb(156,121,247)
-
#aa8cf8
#aa8cf8
rgb(170,140,248)
-
#b79ef9
#b79ef9
rgb(183,158,249)
-
#c5b1fa
#c5b1fa
rgb(197,177,250)
-
#d3c3fb
#d3c3fb
rgb(211,195,251)
-
#e0d6fc
#e0d6fc
rgb(224,214,252)
-
#eee8fe
#eee8fe
rgb(238,232,254)
-
#fcfbff
#fcfbff
rgb(252,251,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #555359 is the less saturated color, while #3103a9 is the most saturated one.
-
#555359
#555359
rgb(85,83,89)
-
#524c60
#524c60
rgb(82,76,96)
-
#4f4666
#4f4666
rgb(79,70,102)
-
#4c3f6d
#4c3f6d
rgb(76,63,109)
-
#493874
#493874
rgb(73,56,116)
-
#46327a
#46327a
rgb(70,50,122)
-
#432b81
#432b81
rgb(67,43,129)
-
#402488
#402488
rgb(64,36,136)
-
#3d1e8e
#3d1e8e
rgb(61,30,142)
-
#3a1795
#3a1795
rgb(58,23,149)
-
#37119b
#37119b
rgb(55,17,155)
-
#340aa2
#340aa2
rgb(52,10,162)
-
#3103a9
#3103a9
rgb(49,3,169)
Tone Color Variation
Below, you can see how #340aa2 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