#340398 hex color
In a RGB color space, hex #340398 is composed of 20.4% red, 1.2% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 65.8% cyan, 98% magenta, 0% yellow and 40.4% black. It has a hue angle of 259.7 degrees, a saturation of 96.1% and a lightness of 30.4%. #340398 color hex could be obtained by blending #6806ff with #000031. Closest websafe color is: #330099.
-
- R 20
- G 1
- B 60
RGB color chart
-
- C 66
- M 98
- Y 0
- K 40
CMYK color chart
● #340398 color description : Dark violet.
The hexadecimal color #340398 has RGB values of R:52, G:3, B:152 and CMYK values of C:0.66, M:0.98, Y:0, K:0.4. Its decimal value is 3408792.
Hex triplet | 340398 | #340398 |
---|---|---|
RGB Decimal | 52, 3, 152 | rgb(52,3,152) |
RGB Percent | 20.4, 1.2, 59.6 | rgb(20.4%,1.2%,59.6%) |
CMYK | 66, 98, 0, 40 | |
HSL | 259.7°, 96.1, 30.4 | hsl(259.7,96.1%,30.4%) |
HSV (or HSB) | 259.7°, 98, 59.6 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 20.29, 54.303, -67.457 |
---|---|
XYZ | 7.115, 3.062, 29.92 |
xyY | 0.177, 0.076, 3.062 |
CIE-LCH | 20.29, 86.598, 308.834 |
CIE-LUV | 20.29, 0.385, -72.633 |
Hunter-Lab | 17.498, 41.96, -89.13 |
Binary | 00110100, 00000011, 10011000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #340398. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #340398
This text has a font color of #340398.
<span style="color:#340398;">Text here</span>
#340398 background color
This paragraph has a background color of #340398.
<p style="background-color:#340398;">Content here</p>
#340398 border color
This element has a border color of #340398.
<div style="border:1px solid #340398;">Content here</div>
CSS codes
.text {color:#340398;}
.background {background-color:#340398;}
.border {border:1px solid #340398;}
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, #060011 is the darkest color, while #fefdff is the lightest one.
-
#060011
#060011
rgb(6,0,17)
-
#0d0125
#0d0125
rgb(13,1,37)
-
#130138
#130138
rgb(19,1,56)
-
#1a014b
#1a014b
rgb(26,1,75)
-
#20025e
#20025e
rgb(32,2,94)
-
#270272
#270272
rgb(39,2,114)
-
#2d0385
#2d0385
rgb(45,3,133)
-
#340398
#340398
rgb(52,3,152)
-
#3b03ab
#3b03ab
rgb(59,3,171)
-
#4104be
#4104be
rgb(65,4,190)
-
#4804d2
#4804d2
rgb(72,4,210)
-
#4e05e5
#4e05e5
rgb(78,5,229)
-
#5505f8
#5505f8
rgb(85,5,248)
Shade Color Variation
-
#6116fa
#6116fa
rgb(97,22,250)
-
#6e2afb
#6e2afb
rgb(110,42,251)
-
#7b3dfb
#7b3dfb
rgb(123,61,251)
-
#8850fc
#8850fc
rgb(136,80,252)
-
#9563fc
#9563fc
rgb(149,99,252)
-
#a276fc
#a276fc
rgb(162,118,252)
-
#b08afd
#b08afd
rgb(176,138,253)
-
#bd9dfd
#bd9dfd
rgb(189,157,253)
-
#cab0fd
#cab0fd
rgb(202,176,253)
-
#d7c3fe
#d7c3fe
rgb(215,195,254)
-
#e4d7fe
#e4d7fe
rgb(228,215,254)
-
#f1eaff
#f1eaff
rgb(241,234,255)
-
#fefdff
#fefdff
rgb(254,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4c4b50 is the less saturated color, while #340398 is the most saturated one.
-
#4c4b50
#4c4b50
rgb(76,75,80)
-
#4a4556
#4a4556
rgb(74,69,86)
-
#483f5c
#483f5c
rgb(72,63,92)
-
#463962
#463962
rgb(70,57,98)
-
#443368
#443368
rgb(68,51,104)
-
#422d6e
#422d6e
rgb(66,45,110)
-
#402774
#402774
rgb(64,39,116)
-
#3e217a
#3e217a
rgb(62,33,122)
-
#3c1b80
#3c1b80
rgb(60,27,128)
-
#3a1586
#3a1586
rgb(58,21,134)
-
#380f8c
#380f8c
rgb(56,15,140)
-
#360992
#360992
rgb(54,9,146)
-
#340398
#340398
rgb(52,3,152)
Tone Color Variation
Below, you can see how #340398 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