#331e54 hex color
In a RGB color space, hex #331e54 is composed of 20% red, 11.8% green and 32.9% blue. Whereas in a CMYK color space, it is composed of 39.3% cyan, 64.3% magenta, 0% yellow and 67.1% black. It has a hue angle of 263.3 degrees, a saturation of 47.4% and a lightness of 22.4%. #331e54 color hex could be obtained by blending #663ca8 with #000000. Closest websafe color is: #333366.
-
- R 20
- G 12
- B 33
RGB color chart
-
- C 39
- M 64
- Y 0
- K 67
CMYK color chart
● #331e54 color description : Very dark violet.
The hexadecimal color #331e54 has RGB values of R:51, G:30, B:84 and CMYK values of C:0.39, M:0.64, Y:0, K:0.67. Its decimal value is 3350100.
Hex triplet | 331e54 | #331e54 |
---|---|---|
RGB Decimal | 51, 30, 84 | rgb(51,30,84) |
RGB Percent | 20, 11.8, 32.9 | rgb(20%,11.8%,32.9%) |
CMYK | 39, 64, 0, 67 | |
HSL | 263.3°, 47.4, 22.4 | hsl(263.3,47.4%,22.4%) |
HSV (or HSB) | 263.3°, 64.3, 32.9 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 16.857, 23.598, -29.311 |
---|---|
XYZ | 3.429, 2.272, 8.645 |
xyY | 0.239, 0.158, 2.272 |
CIE-LCH | 16.857, 37.63, 308.838 |
CIE-LUV | 16.857, 4.023, -31.996 |
Hunter-Lab | 15.075, 14.228, -23.449 |
Binary | 00110011, 00011110, 01010100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #331e54. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #331e54
This text has a font color of #331e54.
<span style="color:#331e54;">Text here</span>
#331e54 background color
This paragraph has a background color of #331e54.
<p style="background-color:#331e54;">Content here</p>
#331e54 border color
This element has a border color of #331e54.
<div style="border:1px solid #331e54;">Content here</div>
CSS codes
.text {color:#331e54;}
.background {background-color:#331e54;}
.border {border:1px solid #331e54;}
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, #07040c is the darkest color, while #fdfcfe is the lightest one.
-
#07040c
#07040c
rgb(7,4,12)
-
#10091a
#10091a
rgb(16,9,26)
-
#190f29
#190f29
rgb(25,15,41)
-
#211437
#211437
rgb(33,20,55)
-
#2a1946
#2a1946
rgb(42,25,70)
-
#331e54
#331e54
rgb(51,30,84)
-
#3c2362
#3c2362
rgb(60,35,98)
-
#452871
#452871
rgb(69,40,113)
-
#4d2d7f
#4d2d7f
rgb(77,45,127)
-
#56338e
#56338e
rgb(86,51,142)
-
#5f389c
#5f389c
rgb(95,56,156)
-
#683dab
#683dab
rgb(104,61,171)
-
#7042b9
#7042b9
rgb(112,66,185)
Shade Color Variation
-
#7b4fc0
#7b4fc0
rgb(123,79,192)
-
#865dc5
#865dc5
rgb(134,93,197)
-
#916cca
#916cca
rgb(145,108,202)
-
#9b7ad0
#9b7ad0
rgb(155,122,208)
-
#a689d5
#a689d5
rgb(166,137,213)
-
#b197da
#b197da
rgb(177,151,218)
-
#bca6df
#bca6df
rgb(188,166,223)
-
#c7b4e4
#c7b4e4
rgb(199,180,228)
-
#d2c2e9
#d2c2e9
rgb(210,194,233)
-
#dcd1ef
#dcd1ef
rgb(220,209,239)
-
#e7dff4
#e7dff4
rgb(231,223,244)
-
#f2eef9
#f2eef9
rgb(242,238,249)
-
#fdfcfe
#fdfcfe
rgb(253,252,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #39383a is the less saturated color, while #2d046e is the most saturated one.
-
#39383a
#39383a
rgb(57,56,58)
-
#38343e
#38343e
rgb(56,52,62)
-
#373042
#373042
rgb(55,48,66)
-
#362b47
#362b47
rgb(54,43,71)
-
#35274b
#35274b
rgb(53,39,75)
-
#342250
#342250
rgb(52,34,80)
-
#331e54
#331e54
rgb(51,30,84)
-
#321a58
#321a58
rgb(50,26,88)
-
#31155d
#31155d
rgb(49,21,93)
-
#301161
#301161
rgb(48,17,97)
-
#2f0c66
#2f0c66
rgb(47,12,102)
-
#2e086a
#2e086a
rgb(46,8,106)
-
#2d046e
#2d046e
rgb(45,4,110)
Tone Color Variation
Below, you can see how #331e54 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