#340f8b Color Information
In a RGB color space, hex #340f8b is composed of 20.4% red, 5.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 62.6% cyan, 89.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 257.9 degrees, a saturation of 80.5% and a lightness of 30.2%. #340f8b color hex could be obtained by blending #681eff with #000017. Closest websafe color is: #330099.
-
- R 20
- G 6
- B 55
-
- C 63
- M 89
- Y 0
- K 45
● #340f8b color description : Dark violet.
#340f8b Color Conversion
The hexadecimal color #340f8b has RGB values of R:52, G:15, B:139 and CMYK values of C:0.63, M:0.89, Y:0, K:0.45. Its decimal value is 3411851.
Hex triplet | 340f8b | #340f8b |
---|---|---|
RGB Decimal | 52, 15, 139 | rgb(52,15,139) |
RGB Percent | 20.4, 5.9, 54.5 | rgb(20.4%,5.9%,54.5%) |
CMYK | 63, 89, 0, 45 | |
HSL | 257.9°, 80.5, 30.2 | hsl(257.9,80.5%,30.2%) |
HSV (or HSB) | 257.9°, 89.2, 54.5 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 19.784, 47.533, -60.217 |
---|---|
XYZ | 6.246, 2.936, 24.662 |
xyY | 0.185, 0.087, 2.936 |
CIE-LCH | 19.784, 76.717, 308.286 |
CIE-LUV | 19.784, 0.829, -65.771 |
Hunter-Lab | 17.134, 35.092, -73.349 |
Binary | 00110100, 00001111, 10001011 |
Color Schemes with #340f8b
Alternatives to #340f8b
Below, you can see some colors close to #340f8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#340f8b Preview
This text has a font color of #340f8b.
<span style="color:#340f8b;">Text here</span>
This paragraph has a background color of #340f8b.
<p style="background-color:#340f8b;">Content here</p>
This element has a border color of #340f8b.
<div style="border:1px solid #340f8b;">Content here</div>
.text {color:#340f8b;}
.background {background-color:#340f8b;}
.border {border:1px solid #340f8b;}
Shades and Tints of #340f8b
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, #06020f is the darkest color, while #fdfcff is the lightest one.
-
#06020f
#06020f
rgb(6,2,15)
-
#0c0421
#0c0421
rgb(12,4,33)
-
#130532
#130532
rgb(19,5,50)
-
#1a0744
#1a0744
rgb(26,7,68)
-
#200956
#200956
rgb(32,9,86)
-
#270b68
#270b68
rgb(39,11,104)
-
#2d0d79
#2d0d79
rgb(45,13,121)
-
#340f8b
#340f8b
rgb(52,15,139)
-
#3b119d
#3b119d
rgb(59,17,157)
-
#4113ae
#4113ae
rgb(65,19,174)
-
#4815c0
#4815c0
rgb(72,21,192)
-
#4e17d2
#4e17d2
rgb(78,23,210)
-
#5519e4
#5519e4
rgb(85,25,228)
-
#6128e8
#6128e8
rgb(97,40,232)
-
#6e3aea
#6e3aea
rgb(110,58,234)
-
#7b4bec
#7b4bec
rgb(123,75,236)
-
#885dee
#885dee
rgb(136,93,238)
-
#956fef
#956fef
rgb(149,111,239)
-
#a280f1
#a280f1
rgb(162,128,241)
-
#af92f3
#af92f3
rgb(175,146,243)
-
#bca4f5
#bca4f5
rgb(188,164,245)
-
#c9b6f7
#c9b6f7
rgb(201,182,247)
-
#d6c7f9
#d6c7f9
rgb(214,199,249)
-
#e3d9fb
#e3d9fb
rgb(227,217,251)
-
#f0ebfd
#f0ebfd
rgb(240,235,253)
-
#fdfcff
#fdfcff
rgb(253,252,255)
Tones of #340f8b
A tone is produced by adding gray to any pure hue. In this case, #4c4a50 is the less saturated color, while #2f0397 is the most saturated one.
-
#4c4a50
#4c4a50
rgb(76,74,80)
-
#494456
#494456
rgb(73,68,86)
-
#473e5c
#473e5c
rgb(71,62,92)
-
#453862
#453862
rgb(69,56,98)
-
#423367
#423367
rgb(66,51,103)
-
#402d6d
#402d6d
rgb(64,45,109)
-
#3e2773
#3e2773
rgb(62,39,115)
-
#3b2179
#3b2179
rgb(59,33,121)
-
#391b7f
#391b7f
rgb(57,27,127)
-
#361585
#361585
rgb(54,21,133)
-
#340f8b
#340f8b
rgb(52,15,139)
-
#320991
#320991
rgb(50,9,145)
-
#2f0397
#2f0397
rgb(47,3,151)
Color Blindness Simulator
Below, you can see how #340f8b 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.