#312040 Color Information
In a RGB color space, hex #312040 is composed of 19.2% red, 12.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 23.4% cyan, 50% magenta, 0% yellow and 74.9% black. It has a hue angle of 271.9 degrees, a saturation of 33.3% and a lightness of 18.8%. #312040 color hex could be obtained by blending #624080 with #000000. Closest websafe color is: #333333.
-
- R 19
- G 13
- B 25
-
- C 23
- M 50
- Y 0
- K 75
● #312040 color description : Very dark desaturated violet.
#312040 Color Conversion
The hexadecimal color #312040 has RGB values of R:49, G:32, B:64 and CMYK values of C:0.23, M:0.5, Y:0, K:0.75. Its decimal value is 3219520.
Hex triplet | 312040 | #312040 |
---|---|---|
RGB Decimal | 49, 32, 64 | rgb(49,32,64) |
RGB Percent | 19.2, 12.5, 25.1 | rgb(19.2%,12.5%,25.1%) |
CMYK | 23, 50, 0, 75 | |
HSL | 271.9°, 33.3, 18.8 | hsl(271.9,33.3%,18.8%) |
HSV (or HSB) | 271.9°, 50, 25.1 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 15.779, 15.739, -17.323 |
---|---|
XYZ | 2.708, 2.056, 5.104 |
xyY | 0.274, 0.208, 2.056 |
CIE-LCH | 15.779, 23.405, 312.258 |
CIE-LUV | 15.779, 4.896, -18.384 |
Hunter-Lab | 14.339, 8.621, -11.068 |
Binary | 00110001, 00100000, 01000000 |
Color Schemes with #312040
Alternatives to #312040
Below, you can see some colors close to #312040. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#312040 Preview
This text has a font color of #312040.
<span style="color:#312040;">Text here</span>
This paragraph has a background color of #312040.
<p style="background-color:#312040;">Content here</p>
This element has a border color of #312040.
<div style="border:1px solid #312040;">Content here</div>
.text {color:#312040;}
.background {background-color:#312040;}
.border {border:1px solid #312040;}
Shades and Tints of #312040
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, #09060c is the darkest color, while #fefefe is the lightest one.
-
#09060c
#09060c
rgb(9,6,12)
-
#130c19
#130c19
rgb(19,12,25)
-
#1d1326
#1d1326
rgb(29,19,38)
-
#271933
#271933
rgb(39,25,51)
-
#312040
#312040
rgb(49,32,64)
-
#3b274d
#3b274d
rgb(59,39,77)
-
#452d5a
#452d5a
rgb(69,45,90)
-
#4f3467
#4f3467
rgb(79,52,103)
-
#593a74
#593a74
rgb(89,58,116)
-
#634181
#634181
rgb(99,65,129)
-
#6d478e
#6d478e
rgb(109,71,142)
-
#774e9c
#774e9c
rgb(119,78,156)
-
#8154a9
#8154a9
rgb(129,84,169)
-
#8b61b0
#8b61b0
rgb(139,97,176)
-
#946eb6
#946eb6
rgb(148,110,182)
-
#9e7bbd
#9e7bbd
rgb(158,123,189)
-
#a888c3
#a888c3
rgb(168,136,195)
-
#b195ca
#b195ca
rgb(177,149,202)
-
#bba2d1
#bba2d1
rgb(187,162,209)
-
#c4afd7
#c4afd7
rgb(196,175,215)
-
#cebcde
#cebcde
rgb(206,188,222)
-
#d8c9e4
#d8c9e4
rgb(216,201,228)
-
#e1d6eb
#e1d6eb
rgb(225,214,235)
-
#ebe3f1
#ebe3f1
rgb(235,227,241)
-
#f4f1f8
#f4f1f8
rgb(244,241,248)
-
#fefefe
#fefefe
rgb(254,254,254)
Tones of #312040
A tone is produced by adding gray to any pure hue. In this case, #302f31 is the less saturated color, while #33025e is the most saturated one.
-
#302f31
#302f31
rgb(48,47,49)
-
#302b35
#302b35
rgb(48,43,53)
-
#312739
#312739
rgb(49,39,57)
-
#31243c
#31243c
rgb(49,36,60)
-
#312040
#312040
rgb(49,32,64)
-
#311c44
#311c44
rgb(49,28,68)
-
#311947
#311947
rgb(49,25,71)
-
#32154b
#32154b
rgb(50,21,75)
-
#32114f
#32114f
rgb(50,17,79)
-
#320e52
#320e52
rgb(50,14,82)
-
#320a56
#320a56
rgb(50,10,86)
-
#33065a
#33065a
rgb(51,6,90)
-
#33025e
#33025e
rgb(51,2,94)
Color Blindness Simulator
Below, you can see how #312040 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.