#340a8b hex color
In a RGB color space, hex #340a8b is composed of 20.4% red, 3.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 62.6% cyan, 92.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 259.5 degrees, a saturation of 86.6% and a lightness of 29.2%. #340a8b color hex could be obtained by blending #6814ff with #000017. Closest websafe color is: #330099.
-
- R 20
- G 4
- B 55
RGB color chart
-
- C 63
- M 93
- Y 0
- K 45
CMYK color chart
● #340a8b color description : Dark violet.
The hexadecimal color #340a8b has RGB values of R:52, G:10, B:139 and CMYK values of C:0.63, M:0.93, Y:0, K:0.45. Its decimal value is 3410571.
Hex triplet | 340a8b | #340a8b |
---|---|---|
RGB Decimal | 52, 10, 139 | rgb(52,10,139) |
RGB Percent | 20.4, 3.9, 54.5 | rgb(20.4%,3.9%,54.5%) |
CMYK | 63, 93, 0, 45 | |
HSL | 259.5°, 86.6, 29.2 | hsl(259.5,86.6%,29.2%) |
HSV (or HSB) | 259.5°, 92.8, 54.5 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 19.271, 49.073, -61.068 |
---|---|
XYZ | 6.184, 2.811, 24.641 |
xyY | 0.184, 0.084, 2.811 |
CIE-LCH | 19.271, 78.342, 308.784 |
CIE-LUV | 19.271, 1.118, -65.493 |
Hunter-Lab | 16.766, 36.498, -75.403 |
Binary | 00110100, 00001010, 10001011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #340a8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #340a8b
This text has a font color of #340a8b.
<span style="color:#340a8b;">Text here</span>
#340a8b background color
This paragraph has a background color of #340a8b.
<p style="background-color:#340a8b;">Content here</p>
#340a8b border color
This element has a border color of #340a8b.
<div style="border:1px solid #340a8b;">Content here</div>
CSS codes
.text {color:#340a8b;}
.background {background-color:#340a8b;}
.border {border:1px solid #340a8b;}
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, #04010b is the darkest color, while #faf8fe is the lightest one.
-
#04010b
#04010b
rgb(4,1,11)
-
#0b021d
#0b021d
rgb(11,2,29)
-
#120330
#120330
rgb(18,3,48)
-
#190542
#190542
rgb(25,5,66)
-
#1f0654
#1f0654
rgb(31,6,84)
-
#260766
#260766
rgb(38,7,102)
-
#2d0979
#2d0979
rgb(45,9,121)
-
#340a8b
#340a8b
rgb(52,10,139)
-
#3b0b9d
#3b0b9d
rgb(59,11,157)
-
#420db0
#420db0
rgb(66,13,176)
-
#490ec2
#490ec2
rgb(73,14,194)
-
#4f0fd4
#4f0fd4
rgb(79,15,212)
-
#5611e6
#5611e6
rgb(86,17,230)
Shade Color Variation
-
#611cef
#611cef
rgb(97,28,239)
-
#6d2ef0
#6d2ef0
rgb(109,46,240)
-
#7a41f1
#7a41f1
rgb(122,65,241)
-
#8753f3
#8753f3
rgb(135,83,243)
-
#9465f4
#9465f4
rgb(148,101,244)
-
#a078f5
#a078f5
rgb(160,120,245)
-
#ad8af7
#ad8af7
rgb(173,138,247)
-
#ba9cf8
#ba9cf8
rgb(186,156,248)
-
#c7aef9
#c7aef9
rgb(199,174,249)
-
#d4c1fb
#d4c1fb
rgb(212,193,251)
-
#e0d3fc
#e0d3fc
rgb(224,211,252)
-
#ede5fd
#ede5fd
rgb(237,229,253)
-
#faf8fe
#faf8fe
rgb(250,248,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4a494c is the less saturated color, while #320491 is the most saturated one.
-
#4a494c
#4a494c
rgb(74,73,76)
-
#484352
#484352
rgb(72,67,82)
-
#463e57
#463e57
rgb(70,62,87)
-
#44385d
#44385d
rgb(68,56,93)
-
#423263
#423263
rgb(66,50,99)
-
#402c69
#402c69
rgb(64,44,105)
-
#3e276e
#3e276e
rgb(62,39,110)
-
#3c2174
#3c2174
rgb(60,33,116)
-
#3a1b7a
#3a1b7a
rgb(58,27,122)
-
#381580
#381580
rgb(56,21,128)
-
#361085
#361085
rgb(54,16,133)
-
#340a8b
#340a8b
rgb(52,10,139)
-
#320491
#320491
rgb(50,4,145)
Tone Color Variation
Below, you can see how #340a8b 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