#312642 hex color
In a RGB color space, hex #312642 is composed of 19.2% red, 14.9% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 25.8% cyan, 42.4% magenta, 0% yellow and 74.1% black. It has a hue angle of 263.6 degrees, a saturation of 26.9% and a lightness of 20.4%. #312642 color hex could be obtained by blending #624c84 with #000000. Closest websafe color is: #333333.
-
- R 19
- G 15
- B 26
RGB color chart
-
- C 26
- M 42
- Y 0
- K 74
CMYK color chart
● #312642 color description : Very dark desaturated violet.
The hexadecimal color #312642 has RGB values of R:49, G:38, B:66 and CMYK values of C:0.26, M:0.42, Y:0, K:0.74. Its decimal value is 3221058.
Hex triplet | 312642 | #312642 |
---|---|---|
RGB Decimal | 49, 38, 66 | rgb(49,38,66) |
RGB Percent | 19.2, 14.9, 25.9 | rgb(19.2%,14.9%,25.9%) |
CMYK | 26, 42, 0, 74 | |
HSL | 263.6°, 26.9, 20.4 | hsl(263.6,26.9%,20.4%) |
HSV (or HSB) | 263.6°, 42.4, 25.9 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 17.611, 12.132, -15.84 |
---|---|
XYZ | 2.943, 2.433, 5.468 |
xyY | 0.271, 0.224, 2.433 |
CIE-LCH | 17.611, 19.953, 307.449 |
CIE-LUV | 17.611, 2.973, -17.456 |
Hunter-Lab | 15.597, 6.387, -9.87 |
Binary | 00110001, 00100110, 01000010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #312642. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #312642
This text has a font color of #312642.
<span style="color:#312642;">Text here</span>
#312642 background color
This paragraph has a background color of #312642.
<p style="background-color:#312642;">Content here</p>
#312642 border color
This element has a border color of #312642.
<div style="border:1px solid #312642;">Content here</div>
CSS codes
.text {color:#312642;}
.background {background-color:#312642;}
.border {border:1px solid #312642;}
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, #030204 is the darkest color, while #f8f6fa is the lightest one.
-
#030204
#030204
rgb(3,2,4)
-
#0c0910
#0c0910
rgb(12,9,16)
-
#15101d
#15101d
rgb(21,16,29)
-
#1f1829
#1f1829
rgb(31,24,41)
-
#281f36
#281f36
rgb(40,31,54)
-
#312642
#312642
rgb(49,38,66)
-
#3a2d4e
#3a2d4e
rgb(58,45,78)
-
#43345b
#43345b
rgb(67,52,91)
-
#4d3c67
#4d3c67
rgb(77,60,103)
-
#564374
#564374
rgb(86,67,116)
-
#5f4a80
#5f4a80
rgb(95,74,128)
-
#68518d
#68518d
rgb(104,81,141)
-
#725899
#725899
rgb(114,88,153)
Shade Color Variation
-
#7b61a4
#7b61a4
rgb(123,97,164)
-
#866dab
#866dab
rgb(134,109,171)
-
#907ab2
#907ab2
rgb(144,122,178)
-
#9a86b9
#9a86b9
rgb(154,134,185)
-
#a593c1
#a593c1
rgb(165,147,193)
-
#af9fc8
#af9fc8
rgb(175,159,200)
-
#baaccf
#baaccf
rgb(186,172,207)
-
#c4b8d6
#c4b8d6
rgb(196,184,214)
-
#cec5dd
#cec5dd
rgb(206,197,221)
-
#d9d1e4
#d9d1e4
rgb(217,209,228)
-
#e3ddec
#e3ddec
rgb(227,221,236)
-
#edeaf3
#edeaf3
rgb(237,234,243)
-
#f8f6fa
#f8f6fa
rgb(248,246,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #343236 is the less saturated color, while #290266 is the most saturated one.
-
#343236
#343236
rgb(52,50,54)
-
#332e3a
#332e3a
rgb(51,46,58)
-
#322a3e
#322a3e
rgb(50,42,62)
-
#312642
#312642
rgb(49,38,66)
-
#302246
#302246
rgb(48,34,70)
-
#2f1e4a
#2f1e4a
rgb(47,30,74)
-
#2e1a4e
#2e1a4e
rgb(46,26,78)
-
#2e1652
#2e1652
rgb(46,22,82)
-
#2d1256
#2d1256
rgb(45,18,86)
-
#2c0e5a
#2c0e5a
rgb(44,14,90)
-
#2b0a5e
#2b0a5e
rgb(43,10,94)
-
#2a0662
#2a0662
rgb(42,6,98)
-
#290266
#290266
rgb(41,2,102)
Tone Color Variation
Below, you can see how #312642 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