#310f40 hex color
In a RGB color space, hex #310f40 is composed of 19.2% red, 5.9% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 23.4% cyan, 76.6% magenta, 0% yellow and 74.9% black. It has a hue angle of 281.6 degrees, a saturation of 62% and a lightness of 15.5%. #310f40 color hex could be obtained by blending #621e80 with #000000. Closest websafe color is: #330033.
-
- R 19
- G 6
- B 25
RGB color chart
-
- C 23
- M 77
- Y 0
- K 75
CMYK color chart
● #310f40 color description : Very dark violet.
The hexadecimal color #310f40 has RGB values of R:49, G:15, B:64 and CMYK values of C:0.23, M:0.77, Y:0, K:0.75. Its decimal value is 3215168.
Hex triplet | 310f40 | #310f40 |
---|---|---|
RGB Decimal | 49, 15, 64 | rgb(49,15,64) |
RGB Percent | 19.2, 5.9, 25.1 | rgb(19.2%,5.9%,25.1%) |
CMYK | 23, 77, 0, 75 | |
HSL | 281.6°, 62, 15.5 | hsl(281.6,62%,15.5%) |
HSV (or HSB) | 281.6°, 76.6, 25.1 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 11.722, 26.435, -23.772 |
---|---|
XYZ | 2.363, 1.365, 4.989 |
xyY | 0.271, 0.157, 1.365 |
CIE-LCH | 11.722, 35.551, 318.036 |
CIE-LUV | 11.722, 7.949, -21.851 |
Hunter-Lab | 11.683, 15.655, -17.142 |
Binary | 00110001, 00001111, 01000000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #310f40. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #310f40
This text has a font color of #310f40.
<span style="color:#310f40;">Text here</span>
#310f40 background color
This paragraph has a background color of #310f40.
<p style="background-color:#310f40;">Content here</p>
#310f40 border color
This element has a border color of #310f40.
<div style="border:1px solid #310f40;">Content here</div>
CSS codes
.text {color:#310f40;}
.background {background-color:#310f40;}
.border {border:1px solid #310f40;}
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 #f8f0fb is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#0d0410
#0d0410
rgb(13,4,16)
-
#190820
#190820
rgb(25,8,32)
-
#250b30
#250b30
rgb(37,11,48)
-
#310f40
#310f40
rgb(49,15,64)
-
#3d1350
#3d1350
rgb(61,19,80)
-
#491660
#491660
rgb(73,22,96)
-
#551a70
#551a70
rgb(85,26,112)
-
#621e80
#621e80
rgb(98,30,128)
-
#6e228f
#6e228f
rgb(110,34,143)
-
#7a259f
#7a259f
rgb(122,37,159)
-
#8629af
#8629af
rgb(134,41,175)
-
#922dbf
#922dbf
rgb(146,45,191)
Shade Color Variation
-
#9e31cf
#9e31cf
rgb(158,49,207)
-
#a641d2
#a641d2
rgb(166,65,210)
-
#ad51d6
#ad51d6
rgb(173,81,214)
-
#b561da
#b561da
rgb(181,97,218)
-
#bc70de
#bc70de
rgb(188,112,222)
-
#c480e1
#c480e1
rgb(196,128,225)
-
#cb90e5
#cb90e5
rgb(203,144,229)
-
#d3a0e9
#d3a0e9
rgb(211,160,233)
-
#dab0ec
#dab0ec
rgb(218,176,236)
-
#e1c0f0
#e1c0f0
rgb(225,192,240)
-
#e9d0f4
#e9d0f4
rgb(233,208,244)
-
#f0e0f8
#f0e0f8
rgb(240,224,248)
-
#f8f0fb
#f8f0fb
rgb(248,240,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #282728 is the less saturated color, while #36034c is the most saturated one.
-
#282728
#282728
rgb(40,39,40)
-
#29242b
#29242b
rgb(41,36,43)
-
#2a212e
#2a212e
rgb(42,33,46)
-
#2b1e31
#2b1e31
rgb(43,30,49)
-
#2c1b34
#2c1b34
rgb(44,27,52)
-
#2d1837
#2d1837
rgb(45,24,55)
-
#2f153a
#2f153a
rgb(47,21,58)
-
#30123d
#30123d
rgb(48,18,61)
-
#310f40
#310f40
rgb(49,15,64)
-
#320c43
#320c43
rgb(50,12,67)
-
#330946
#330946
rgb(51,9,70)
-
#350649
#350649
rgb(53,6,73)
-
#36034c
#36034c
rgb(54,3,76)
Tone Color Variation
Below, you can see how #310f40 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