#340796 hex color
In a RGB color space, hex #340796 is composed of 20.4% red, 2.7% green and 58.8% blue. Whereas in a CMYK color space, it is composed of 65.3% cyan, 95.3% magenta, 0% yellow and 41.2% black. It has a hue angle of 258.9 degrees, a saturation of 91.1% and a lightness of 30.8%. #340796 color hex could be obtained by blending #680eff with #00002d. Closest websafe color is: #330099.
-
- R 20
- G 3
- B 59
RGB color chart
-
- C 65
- M 95
- Y 0
- K 41
CMYK color chart
● #340796 color description : Dark violet.
The hexadecimal color #340796 has RGB values of R:52, G:7, B:150 and CMYK values of C:0.65, M:0.95, Y:0, K:0.41. Its decimal value is 3409814.
Hex triplet | 340796 | #340796 |
---|---|---|
RGB Decimal | 52, 7, 150 | rgb(52,7,150) |
RGB Percent | 20.4, 2.7, 58.8 | rgb(20.4%,2.7%,58.8%) |
CMYK | 65, 95, 0, 41 | |
HSL | 258.9°, 91.1, 30.8 | hsl(258.9,91.1%,30.8%) |
HSV (or HSB) | 258.9°, 95.3, 58.8 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 20.376, 52.75, -66.078 |
---|---|
XYZ | 6.996, 3.084, 29.079 |
xyY | 0.179, 0.079, 3.084 |
CIE-LCH | 20.376, 84.552, 308.6 |
CIE-LUV | 20.376, 0.358, -71.729 |
Hunter-Lab | 17.561, 40.383, -85.887 |
Binary | 00110100, 00000111, 10010110 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #340796. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #340796
This text has a font color of #340796.
<span style="color:#340796;">Text here</span>
#340796 background color
This paragraph has a background color of #340796.
<p style="background-color:#340796;">Content here</p>
#340796 border color
This element has a border color of #340796.
<div style="border:1px solid #340796;">Content here</div>
CSS codes
.text {color:#340796;}
.background {background-color:#340796;}
.border {border:1px solid #340796;}
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, #000000 is the darkest color, while #f2ecfe is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#070113
#070113
rgb(7,1,19)
-
#0d0226
#0d0226
rgb(13,2,38)
-
#140338
#140338
rgb(20,3,56)
-
#1a044b
#1a044b
rgb(26,4,75)
-
#21045e
#21045e
rgb(33,4,94)
-
#270571
#270571
rgb(39,5,113)
-
#2e0683
#2e0683
rgb(46,6,131)
-
#340796
#340796
rgb(52,7,150)
-
#3a08a9
#3a08a9
rgb(58,8,169)
-
#4109bb
#4109bb
rgb(65,9,187)
-
#470ace
#470ace
rgb(71,10,206)
-
#4e0ae1
#4e0ae1
rgb(78,10,225)
Shade Color Variation
-
#550bf4
#550bf4
rgb(85,11,244)
-
#621ef5
#621ef5
rgb(98,30,245)
-
#6f31f5
#6f31f5
rgb(111,49,245)
-
#7c44f6
#7c44f6
rgb(124,68,246)
-
#8956f7
#8956f7
rgb(137,86,247)
-
#9669f8
#9669f8
rgb(150,105,248)
-
#a37cf9
#a37cf9
rgb(163,124,249)
-
#b08ffa
#b08ffa
rgb(176,143,250)
-
#bda1fb
#bda1fb
rgb(189,161,251)
-
#cbb4fc
#cbb4fc
rgb(203,180,252)
-
#d8c7fc
#d8c7fc
rgb(216,199,252)
-
#e5dafd
#e5dafd
rgb(229,218,253)
-
#f2ecfe
#f2ecfe
rgb(242,236,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d4954 is the less saturated color, while #32019c is the most saturated one.
-
#4d4954
#4d4954
rgb(77,73,84)
-
#4a435a
#4a435a
rgb(74,67,90)
-
#483d60
#483d60
rgb(72,61,96)
-
#463766
#463766
rgb(70,55,102)
-
#44316c
#44316c
rgb(68,49,108)
-
#412b72
#412b72
rgb(65,43,114)
-
#3f2578
#3f2578
rgb(63,37,120)
-
#3d1f7e
#3d1f7e
rgb(61,31,126)
-
#3b1984
#3b1984
rgb(59,25,132)
-
#38138a
#38138a
rgb(56,19,138)
-
#360d90
#360d90
rgb(54,13,144)
-
#340796
#340796
rgb(52,7,150)
-
#32019c
#32019c
rgb(50,1,156)
Tone Color Variation
Below, you can see how #340796 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