#311f54 hex color
In a RGB color space, hex #311f54 is composed of 19.2% red, 12.2% green and 32.9% blue. Whereas in a CMYK color space, it is composed of 41.7% cyan, 63.1% magenta, 0% yellow and 67.1% black. It has a hue angle of 260.4 degrees, a saturation of 46.1% and a lightness of 22.5%. #311f54 color hex could be obtained by blending #623ea8 with #000000. Closest websafe color is: #333366.
-
- R 19
- G 12
- B 33
RGB color chart
-
- C 42
- M 63
- Y 0
- K 67
CMYK color chart
● #311f54 color description : Very dark violet.
The hexadecimal color #311f54 has RGB values of R:49, G:31, B:84 and CMYK values of C:0.42, M:0.63, Y:0, K:0.67. Its decimal value is 3219284.
Hex triplet | 311f54 | #311f54 |
---|---|---|
RGB Decimal | 49, 31, 84 | rgb(49,31,84) |
RGB Percent | 19.2, 12.2, 32.9 | rgb(19.2%,12.2%,32.9%) |
CMYK | 42, 63, 0, 67 | |
HSL | 260.4°, 46.1, 22.5 | hsl(260.4,46.1%,22.5%) |
HSV (or HSB) | 260.4°, 63.1, 32.9 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 16.859, 22.407, -29.319 |
---|---|
XYZ | 3.357, 2.273, 8.649 |
xyY | 0.235, 0.159, 2.273 |
CIE-LCH | 16.859, 36.901, 307.389 |
CIE-LUV | 16.859, 3.054, -31.925 |
Hunter-Lab | 15.077, 13.356, -23.459 |
Binary | 00110001, 00011111, 01010100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #311f54. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #311f54
This text has a font color of #311f54.
<span style="color:#311f54;">Text here</span>
#311f54 background color
This paragraph has a background color of #311f54.
<p style="background-color:#311f54;">Content here</p>
#311f54 border color
This element has a border color of #311f54.
<div style="border:1px solid #311f54;">Content here</div>
CSS codes
.text {color:#311f54;}
.background {background-color:#311f54;}
.border {border:1px solid #311f54;}
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, #07050c is the darkest color, while #fdfdfe is the lightest one.
-
#07050c
#07050c
rgb(7,5,12)
-
#100a1b
#100a1b
rgb(16,10,27)
-
#180f29
#180f29
rgb(24,15,41)
-
#201437
#201437
rgb(32,20,55)
-
#291a46
#291a46
rgb(41,26,70)
-
#311f54
#311f54
rgb(49,31,84)
-
#392462
#392462
rgb(57,36,98)
-
#422a71
#422a71
rgb(66,42,113)
-
#4a2f7f
#4a2f7f
rgb(74,47,127)
-
#52348d
#52348d
rgb(82,52,141)
-
#5b399c
#5b399c
rgb(91,57,156)
-
#633faa
#633faa
rgb(99,63,170)
-
#6c44b8
#6c44b8
rgb(108,68,184)
Shade Color Variation
-
#7651bf
#7651bf
rgb(118,81,191)
-
#825fc4
#825fc4
rgb(130,95,196)
-
#8d6ec9
#8d6ec9
rgb(141,110,201)
-
#987ccf
#987ccf
rgb(152,124,207)
-
#a38ad4
#a38ad4
rgb(163,138,212)
-
#af99d9
#af99d9
rgb(175,153,217)
-
#baa7df
#baa7df
rgb(186,167,223)
-
#c5b5e4
#c5b5e4
rgb(197,181,228)
-
#d0c4e9
#d0c4e9
rgb(208,196,233)
-
#dcd2ee
#dcd2ee
rgb(220,210,238)
-
#e7e0f4
#e7e0f4
rgb(231,224,244)
-
#f2eff9
#f2eff9
rgb(242,239,249)
-
#fdfdfe
#fdfdfe
rgb(253,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #38353e is the less saturated color, while #270073 is the most saturated one.
-
#38353e
#38353e
rgb(56,53,62)
-
#373142
#373142
rgb(55,49,66)
-
#352c47
#352c47
rgb(53,44,71)
-
#34284b
#34284b
rgb(52,40,75)
-
#322350
#322350
rgb(50,35,80)
-
#311f54
#311f54
rgb(49,31,84)
-
#301b58
#301b58
rgb(48,27,88)
-
#2e165d
#2e165d
rgb(46,22,93)
-
#2d1261
#2d1261
rgb(45,18,97)
-
#2b0d66
#2b0d66
rgb(43,13,102)
-
#2a096a
#2a096a
rgb(42,9,106)
-
#28046f
#28046f
rgb(40,4,111)
-
#270073
#270073
rgb(39,0,115)
Tone Color Variation
Below, you can see how #311f54 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