#340ea1 hex color
In a RGB color space, hex #340ea1 is composed of 20.4% red, 5.5% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 67.7% cyan, 91.3% magenta, 0% yellow and 36.9% black. It has a hue angle of 255.5 degrees, a saturation of 84% and a lightness of 34.3%. #340ea1 color hex could be obtained by blending #681cff with #000043. Closest websafe color is: #330099.
-
- R 20
- G 5
- B 63
RGB color chart
-
- C 68
- M 91
- Y 0
- K 37
CMYK color chart
● #340ea1 color description : Dark violet.
The hexadecimal color #340ea1 has RGB values of R:52, G:14, B:161 and CMYK values of C:0.68, M:0.91, Y:0, K:0.37. Its decimal value is 3411617.
Hex triplet | 340ea1 | #340ea1 |
---|---|---|
RGB Decimal | 52, 14, 161 | rgb(52,14,161) |
RGB Percent | 20.4, 5.5, 63.1 | rgb(20.4%,5.5%,63.1%) |
CMYK | 68, 91, 0, 37 | |
HSL | 255.5°, 84, 34.3 | hsl(255.5,84%,34.3%) |
HSV (or HSB) | 255.5°, 91.3, 63.1 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 22.363, 53.812, -69.534 |
---|---|
XYZ | 8.005, 3.617, 33.993 |
xyY | 0.175, 0.079, 3.617 |
CIE-LCH | 22.363, 87.925, 307.736 |
CIE-LUV | 22.363, -0.837, -78.53 |
Hunter-Lab | 19.018, 41.85, -92.659 |
Binary | 00110100, 00001110, 10100001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #340ea1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #340ea1
This text has a font color of #340ea1.
<span style="color:#340ea1;">Text here</span>
#340ea1 background color
This paragraph has a background color of #340ea1.
<p style="background-color:#340ea1;">Content here</p>
#340ea1 border color
This element has a border color of #340ea1.
<div style="border:1px solid #340ea1;">Content here</div>
CSS codes
.text {color:#340ea1;}
.background {background-color:#340ea1;}
.border {border:1px solid #340ea1;}
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, #050111 is the darkest color, while #fefeff is the lightest one.
-
#050111
#050111
rgb(5,1,17)
-
#0b0323
#0b0323
rgb(11,3,35)
-
#110535
#110535
rgb(17,5,53)
-
#170647
#170647
rgb(23,6,71)
-
#1d0859
#1d0859
rgb(29,8,89)
-
#23096b
#23096b
rgb(35,9,107)
-
#280b7d
#280b7d
rgb(40,11,125)
-
#2e0c8f
#2e0c8f
rgb(46,12,143)
-
#340ea1
#340ea1
rgb(52,14,161)
-
#3a10b3
#3a10b3
rgb(58,16,179)
-
#4011c5
#4011c5
rgb(64,17,197)
-
#4513d7
#4513d7
rgb(69,19,215)
-
#4b14e9
#4b14e9
rgb(75,20,233)
Shade Color Variation
-
#5825ec
#5825ec
rgb(88,37,236)
-
#6637ee
#6637ee
rgb(102,55,238)
-
#7449ef
#7449ef
rgb(116,73,239)
-
#825bf1
#825bf1
rgb(130,91,241)
-
#906df2
#906df2
rgb(144,109,242)
-
#9d7ff4
#9d7ff4
rgb(157,127,244)
-
#ab91f5
#ab91f5
rgb(171,145,245)
-
#b9a3f7
#b9a3f7
rgb(185,163,247)
-
#c7b5f9
#c7b5f9
rgb(199,181,249)
-
#d5c7fa
#d5c7fa
rgb(213,199,250)
-
#e2d9fc
#e2d9fc
rgb(226,217,252)
-
#f0ecfd
#f0ecfd
rgb(240,236,253)
-
#fefeff
#fefeff
rgb(254,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #55515e is the less saturated color, while #2d01ae is the most saturated one.
-
#55515e
#55515e
rgb(85,81,94)
-
#514b64
#514b64
rgb(81,75,100)
-
#4e446b
#4e446b
rgb(78,68,107)
-
#4b3d72
#4b3d72
rgb(75,61,114)
-
#483679
#483679
rgb(72,54,121)
-
#44307f
#44307f
rgb(68,48,127)
-
#412986
#412986
rgb(65,41,134)
-
#3e228d
#3e228d
rgb(62,34,141)
-
#3b1b94
#3b1b94
rgb(59,27,148)
-
#37159a
#37159a
rgb(55,21,154)
-
#340ea1
#340ea1
rgb(52,14,161)
-
#3107a8
#3107a8
rgb(49,7,168)
-
#2d01ae
#2d01ae
rgb(45,1,174)
Tone Color Variation
Below, you can see how #340ea1 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