#312148 hex color
In a RGB color space, hex #312148 is composed of 19.2% red, 12.9% green and 28.2% blue. Whereas in a CMYK color space, it is composed of 31.9% cyan, 54.2% magenta, 0% yellow and 71.8% black. It has a hue angle of 264.6 degrees, a saturation of 37.1% and a lightness of 20.6%. #312148 color hex could be obtained by blending #624290 with #000000. Closest websafe color is: #333333.
-
- R 19
- G 13
- B 28
RGB color chart
-
- C 32
- M 54
- Y 0
- K 72
CMYK color chart
● #312148 color description : Very dark desaturated violet.
The hexadecimal color #312148 has RGB values of R:49, G:33, B:72 and CMYK values of C:0.32, M:0.54, Y:0, K:0.72. Its decimal value is 3219784.
Hex triplet | 312148 | #312148 |
---|---|---|
RGB Decimal | 49, 33, 72 | rgb(49,33,72) |
RGB Percent | 19.2, 12.9, 28.2 | rgb(19.2%,12.9%,28.2%) |
CMYK | 32, 54, 0, 72 | |
HSL | 264.6°, 37.1, 20.6 | hsl(264.6,37.1%,20.6%) |
HSV (or HSB) | 264.6°, 54.2, 28.2 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 16.546, 17.379, -21.648 |
---|---|
XYZ | 2.98, 2.209, 6.4 |
xyY | 0.257, 0.191, 2.209 |
CIE-LCH | 16.546, 27.761, 308.757 |
CIE-LUV | 16.546, 3.803, -23.434 |
Hunter-Lab | 14.861, 9.786, -15.13 |
Binary | 00110001, 00100001, 01001000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #312148. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #312148
This text has a font color of #312148.
<span style="color:#312148;">Text here</span>
#312148 background color
This paragraph has a background color of #312148.
<p style="background-color:#312148;">Content here</p>
#312148 border color
This element has a border color of #312148.
<div style="border:1px solid #312148;">Content here</div>
CSS codes
.text {color:#312148;}
.background {background-color:#312148;}
.border {border:1px solid #312148;}
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, #030205 is the darkest color, while #f8f6fb is the lightest one.
-
#030205
#030205
rgb(3,2,5)
-
#0c0812
#0c0812
rgb(12,8,18)
-
#160f20
#160f20
rgb(22,15,32)
-
#1f152d
#1f152d
rgb(31,21,45)
-
#281b3b
#281b3b
rgb(40,27,59)
-
#312148
#312148
rgb(49,33,72)
-
#3a2755
#3a2755
rgb(58,39,85)
-
#432d63
#432d63
rgb(67,45,99)
-
#4c3370
#4c3370
rgb(76,51,112)
-
#563a7e
#563a7e
rgb(86,58,126)
-
#5f408b
#5f408b
rgb(95,64,139)
-
#684699
#684699
rgb(104,70,153)
-
#714ca6
#714ca6
rgb(113,76,166)
Shade Color Variation
-
#7b55b1
#7b55b1
rgb(123,85,177)
-
#8562b7
#8562b7
rgb(133,98,183)
-
#9070bd
#9070bd
rgb(144,112,189)
-
#9a7dc4
#9a7dc4
rgb(154,125,196)
-
#a58bca
#a58bca
rgb(165,139,202)
-
#af98d0
#af98d0
rgb(175,152,208)
-
#b9a6d6
#b9a6d6
rgb(185,166,214)
-
#c4b3dc
#c4b3dc
rgb(196,179,220)
-
#cec0e2
#cec0e2
rgb(206,192,226)
-
#d9cee9
#d9cee9
rgb(217,206,233)
-
#e3dbef
#e3dbef
rgb(227,219,239)
-
#eee9f5
#eee9f5
rgb(238,233,245)
-
#f8f6fb
#f8f6fb
rgb(248,246,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #343138 is the less saturated color, while #2b0168 is the most saturated one.
-
#343138
#343138
rgb(52,49,56)
-
#332d3c
#332d3c
rgb(51,45,60)
-
#322940
#322940
rgb(50,41,64)
-
#322544
#322544
rgb(50,37,68)
-
#312148
#312148
rgb(49,33,72)
-
#301d4c
#301d4c
rgb(48,29,76)
-
#301950
#301950
rgb(48,25,80)
-
#2f1554
#2f1554
rgb(47,21,84)
-
#2e1158
#2e1158
rgb(46,17,88)
-
#2d0d5c
#2d0d5c
rgb(45,13,92)
-
#2d0960
#2d0960
rgb(45,9,96)
-
#2c0564
#2c0564
rgb(44,5,100)
-
#2b0168
#2b0168
rgb(43,1,104)
Tone Color Variation
Below, you can see how #312148 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