#31157f hex color
In a RGB color space, hex #31157f is composed of 19.2% red, 8.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 61.4% cyan, 83.5% magenta, 0% yellow and 50.2% black. It has a hue angle of 255.8 degrees, a saturation of 71.6% and a lightness of 29%. #31157f color hex could be obtained by blending #622afe with #000000. Closest websafe color is: #330066.
-
- R 19
- G 8
- B 50
RGB color chart
-
- C 61
- M 83
- Y 0
- K 50
CMYK color chart
● #31157f color description : Dark violet.
The hexadecimal color #31157f has RGB values of R:49, G:21, B:127 and CMYK values of C:0.61, M:0.83, Y:0, K:0.5. Its decimal value is 3216767.
Hex triplet | 31157f | #31157f |
---|---|---|
RGB Decimal | 49, 21, 127 | rgb(49,21,127) |
RGB Percent | 19.2, 8.2, 49.8 | rgb(19.2%,8.2%,49.8%) |
CMYK | 61, 83, 0, 50 | |
HSL | 255.8°, 71.6, 29 | hsl(255.8,71.6%,29%) |
HSV (or HSB) | 255.8°, 83.5, 49.8 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 18.892, 41.402, -54.134 |
---|---|
XYZ | 5.365, 2.721, 20.32 |
xyY | 0.189, 0.096, 2.721 |
CIE-LCH | 18.892, 68.151, 307.408 |
CIE-LUV | 18.892, 0.599, -58.88 |
Hunter-Lab | 16.497, 29.18, -61.483 |
Binary | 00110001, 00010101, 01111111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #31157f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #31157f
This text has a font color of #31157f.
<span style="color:#31157f;">Text here</span>
#31157f background color
This paragraph has a background color of #31157f.
<p style="background-color:#31157f;">Content here</p>
#31157f border color
This element has a border color of #31157f.
<div style="border:1px solid #31157f;">Content here</div>
CSS codes
.text {color:#31157f;}
.background {background-color:#31157f;}
.border {border:1px solid #31157f;}
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, #040209 is the darkest color, while #f9f7fe is the lightest one.
-
#040209
#040209
rgb(4,2,9)
-
#0a041a
#0a041a
rgb(10,4,26)
-
#11072b
#11072b
rgb(17,7,43)
-
#170a3c
#170a3c
rgb(23,10,60)
-
#1e0d4d
#1e0d4d
rgb(30,13,77)
-
#240f5d
#240f5d
rgb(36,15,93)
-
#2b126e
#2b126e
rgb(43,18,110)
-
#31157f
#31157f
rgb(49,21,127)
-
#371890
#371890
rgb(55,24,144)
-
#3e1ba1
#3e1ba1
rgb(62,27,161)
-
#441db1
#441db1
rgb(68,29,177)
-
#4b20c2
#4b20c2
rgb(75,32,194)
-
#5123d3
#5123d3
rgb(81,35,211)
Shade Color Variation
-
#5c2ddc
#5c2ddc
rgb(92,45,220)
-
#693edf
#693edf
rgb(105,62,223)
-
#764fe2
#764fe2
rgb(118,79,226)
-
#8360e5
#8360e5
rgb(131,96,229)
-
#9071e7
#9071e7
rgb(144,113,231)
-
#9d82ea
#9d82ea
rgb(157,130,234)
-
#aa92ed
#aa92ed
rgb(170,146,237)
-
#b7a3f0
#b7a3f0
rgb(183,163,240)
-
#c5b4f3
#c5b4f3
rgb(197,180,243)
-
#d2c5f5
#d2c5f5
rgb(210,197,245)
-
#dfd6f8
#dfd6f8
rgb(223,214,248)
-
#ece7fb
#ece7fb
rgb(236,231,251)
-
#f9f7fe
#f9f7fe
rgb(249,247,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #49484c is the less saturated color, while #290490 is the most saturated one.
-
#49484c
#49484c
rgb(73,72,76)
-
#464351
#464351
rgb(70,67,81)
-
#443d57
#443d57
rgb(68,61,87)
-
#41375d
#41375d
rgb(65,55,93)
-
#3e3163
#3e3163
rgb(62,49,99)
-
#3c2c68
#3c2c68
rgb(60,44,104)
-
#39266e
#39266e
rgb(57,38,110)
-
#362074
#362074
rgb(54,32,116)
-
#341b79
#341b79
rgb(52,27,121)
-
#31157f
#31157f
rgb(49,21,127)
-
#2e0f85
#2e0f85
rgb(46,15,133)
-
#2c0a8a
#2c0a8a
rgb(44,10,138)
-
#290490
#290490
rgb(41,4,144)
Tone Color Variation
Below, you can see how #31157f 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