#340b8e hex color
In a RGB color space, hex #340b8e is composed of 20.4% red, 4.3% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 63.4% cyan, 92.3% magenta, 0% yellow and 44.3% black. It has a hue angle of 258.8 degrees, a saturation of 85.6% and a lightness of 30%. #340b8e color hex could be obtained by blending #6816ff with #00001d. Closest websafe color is: #330099.
-
- R 20
- G 4
- B 56
RGB color chart
-
- C 63
- M 92
- Y 0
- K 44
CMYK color chart
● #340b8e color description : Dark violet.
The hexadecimal color #340b8e has RGB values of R:52, G:11, B:142 and CMYK values of C:0.63, M:0.92, Y:0, K:0.44. Its decimal value is 3410830.
Hex triplet | 340b8e | #340b8e |
---|---|---|
RGB Decimal | 52, 11, 142 | rgb(52,11,142) |
RGB Percent | 20.4, 4.3, 55.7 | rgb(20.4%,4.3%,55.7%) |
CMYK | 63, 92, 0, 44 | |
HSL | 258.8°, 85.6, 30 | hsl(258.8,85.6%,30%) |
HSV (or HSB) | 258.8°, 92.3, 55.7 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 19.73, 49.593, -62.183 |
---|---|
XYZ | 6.417, 2.922, 25.816 |
xyY | 0.183, 0.083, 2.922 |
CIE-LCH | 19.73, 79.538, 308.574 |
CIE-LUV | 19.73, 0.816, -67.297 |
Hunter-Lab | 17.094, 37.096, -77.572 |
Binary | 00110100, 00001011, 10001110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #340b8e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #340b8e
This text has a font color of #340b8e.
<span style="color:#340b8e;">Text here</span>
#340b8e background color
This paragraph has a background color of #340b8e.
<p style="background-color:#340b8e;">Content here</p>
#340b8e border color
This element has a border color of #340b8e.
<div style="border:1px solid #340b8e;">Content here</div>
CSS codes
.text {color:#340b8e;}
.background {background-color:#340b8e;}
.border {border:1px solid #340b8e;}
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, #05010f is the darkest color, while #fcfbff is the lightest one.
-
#05010f
#05010f
rgb(5,1,15)
-
#0c0321
#0c0321
rgb(12,3,33)
-
#130433
#130433
rgb(19,4,51)
-
#190545
#190545
rgb(25,5,69)
-
#200757
#200757
rgb(32,7,87)
-
#27086a
#27086a
rgb(39,8,106)
-
#2d0a7c
#2d0a7c
rgb(45,10,124)
-
#340b8e
#340b8e
rgb(52,11,142)
-
#3b0ca0
#3b0ca0
rgb(59,12,160)
-
#410eb2
#410eb2
rgb(65,14,178)
-
#480fc5
#480fc5
rgb(72,15,197)
-
#4f11d7
#4f11d7
rgb(79,17,215)
-
#5512e9
#5512e9
rgb(85,18,233)
Shade Color Variation
-
#6121ee
#6121ee
rgb(97,33,238)
-
#6e33ef
#6e33ef
rgb(110,51,239)
-
#7b45f1
#7b45f1
rgb(123,69,241)
-
#8858f2
#8858f2
rgb(136,88,242)
-
#956af3
#956af3
rgb(149,106,243)
-
#a27cf5
#a27cf5
rgb(162,124,245)
-
#af8ef6
#af8ef6
rgb(175,142,246)
-
#bca0f8
#bca0f8
rgb(188,160,248)
-
#c9b3f9
#c9b3f9
rgb(201,179,249)
-
#d6c5fa
#d6c5fa
rgb(214,197,250)
-
#e3d7fc
#e3d7fc
rgb(227,215,252)
-
#efe9fd
#efe9fd
rgb(239,233,253)
-
#fcfbff
#fcfbff
rgb(252,251,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4c4c4d is the less saturated color, while #320594 is the most saturated one.
-
#4c4c4d
#4c4c4d
rgb(76,76,77)
-
#4a4653
#4a4653
rgb(74,70,83)
-
#484059
#484059
rgb(72,64,89)
-
#463a5f
#463a5f
rgb(70,58,95)
-
#433465
#433465
rgb(67,52,101)
-
#412e6b
#412e6b
rgb(65,46,107)
-
#3f2871
#3f2871
rgb(63,40,113)
-
#3d2376
#3d2376
rgb(61,35,118)
-
#3b1d7c
#3b1d7c
rgb(59,29,124)
-
#381782
#381782
rgb(56,23,130)
-
#361188
#361188
rgb(54,17,136)
-
#340b8e
#340b8e
rgb(52,11,142)
-
#320594
#320594
rgb(50,5,148)
Tone Color Variation
Below, you can see how #340b8e 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