#3a1798 hex color
In a RGB color space, hex #3a1798 is composed of 22.7% red, 9% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 61.8% cyan, 84.9% magenta, 0% yellow and 40.4% black. It has a hue angle of 256.3 degrees, a saturation of 73.7% and a lightness of 34.3%. #3a1798 color hex could be obtained by blending #742eff with #000031. Closest websafe color is: #330099.
-
- R 23
- G 9
- B 60
RGB color chart
-
- C 62
- M 85
- Y 0
- K 40
CMYK color chart
● #3a1798 color description : Dark violet.
The hexadecimal color #3a1798 has RGB values of R:58, G:23, B:152 and CMYK values of C:0.62, M:0.85, Y:0, K:0.4. Its decimal value is 3807128.
Hex triplet | 3a1798 | #3a1798 |
---|---|---|
RGB Decimal | 58, 23, 152 | rgb(58,23,152) |
RGB Percent | 22.7, 9, 59.6 | rgb(22.7%,9%,59.6%) |
CMYK | 62, 85, 0, 40 | |
HSL | 256.3°, 73.7, 34.3 | hsl(256.3,73.7%,34.3%) |
HSV (or HSB) | 256.3°, 84.9, 59.6 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 22.927, 48.725, -63.065 |
---|---|
XYZ | 7.718, 3.779, 30.027 |
xyY | 0.186, 0.091, 3.779 |
CIE-LCH | 22.927, 79.695, 307.69 |
CIE-LUV | 22.927, 0.594, -73.969 |
Hunter-Lab | 19.44, 36.846, -77.971 |
Binary | 00111010, 00010111, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #3a1798. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #3a1798
This text has a font color of #3a1798.
<span style="color:#3a1798;">Text here</span>
#3a1798 background color
This paragraph has a background color of #3a1798.
<p style="background-color:#3a1798;">Content here</p>
#3a1798 border color
This element has a border color of #3a1798.
<div style="border:1px solid #3a1798;">Content here</div>
CSS codes
.text {color:#3a1798;}
.background {background-color:#3a1798;}
.border {border:1px solid #3a1798;}
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, #060210 is the darkest color, while #fefeff is the lightest one.
-
#060210
#060210
rgb(6,2,16)
-
#0c0521
#0c0521
rgb(12,5,33)
-
#130832
#130832
rgb(19,8,50)
-
#190a43
#190a43
rgb(25,10,67)
-
#200d54
#200d54
rgb(32,13,84)
-
#260f65
#260f65
rgb(38,15,101)
-
#2d1276
#2d1276
rgb(45,18,118)
-
#331487
#331487
rgb(51,20,135)
-
#3a1798
#3a1798
rgb(58,23,152)
-
#411aa9
#411aa9
rgb(65,26,169)
-
#471cba
#471cba
rgb(71,28,186)
-
#4e1fcb
#4e1fcb
rgb(78,31,203)
-
#5421dc
#5421dc
rgb(84,33,220)
Shade Color Variation
-
#6131e0
#6131e0
rgb(97,49,224)
-
#6e42e2
#6e42e2
rgb(110,66,226)
-
#7b53e5
#7b53e5
rgb(123,83,229)
-
#8864e8
#8864e8
rgb(136,100,232)
-
#9575ea
#9575ea
rgb(149,117,234)
-
#a286ed
#a286ed
rgb(162,134,237)
-
#af97ef
#af97ef
rgb(175,151,239)
-
#bca8f2
#bca8f2
rgb(188,168,242)
-
#cabaf4
#cabaf4
rgb(202,186,244)
-
#d7cbf7
#d7cbf7
rgb(215,203,247)
-
#e4dcfa
#e4dcfa
rgb(228,220,250)
-
#f1edfc
#f1edfc
rgb(241,237,252)
-
#fefeff
#fefeff
rgb(254,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #56545b is the less saturated color, while #3103ac is the most saturated one.
-
#56545b
#56545b
rgb(86,84,91)
-
#534d62
#534d62
rgb(83,77,98)
-
#504669
#504669
rgb(80,70,105)
-
#4c3f70
#4c3f70
rgb(76,63,112)
-
#493976
#493976
rgb(73,57,118)
-
#46327d
#46327d
rgb(70,50,125)
-
#432b84
#432b84
rgb(67,43,132)
-
#40248b
#40248b
rgb(64,36,139)
-
#3d1e91
#3d1e91
rgb(61,30,145)
-
#3a1798
#3a1798
rgb(58,23,152)
-
#37109f
#37109f
rgb(55,16,159)
-
#340aa5
#340aa5
rgb(52,10,165)
-
#3103ac
#3103ac
rgb(49,3,172)
Tone Color Variation
Below, you can see how #3a1798 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