#240b31 hex color
In a RGB color space, hex #240b31 is composed of 14.1% red, 4.3% green and 19.2% blue. Whereas in a CMYK color space, it is composed of 26.5% cyan, 77.6% magenta, 0% yellow and 80.8% black. It has a hue angle of 279.5 degrees, a saturation of 63.3% and a lightness of 11.8%. #240b31 color hex could be obtained by blending #481662 with #000000. Closest websafe color is: #330033.
-
- R 14
- G 4
- B 19
RGB color chart
-
- C 27
- M 78
- Y 0
- K 81
CMYK color chart
● #240b31 color description : Very dark (mostly black) violet.
The hexadecimal color #240b31 has RGB values of R:36, G:11, B:49 and CMYK values of C:0.27, M:0.78, Y:0, K:0.81. Its decimal value is 2362161.
Hex triplet | 240b31 | #240b31 |
---|---|---|
RGB Decimal | 36, 11, 49 | rgb(36,11,49) |
RGB Percent | 14.1, 4.3, 19.2 | rgb(14.1%,4.3%,19.2%) |
CMYK | 27, 78, 0, 81 | |
HSL | 279.5°, 63.3, 11.8 | hsl(279.5,63.3%,11.8%) |
HSV (or HSB) | 279.5°, 77.6, 19.2 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 7.553, 21.087, -19.751 |
---|---|
XYZ | 1.402, 0.836, 2.993 |
xyY | 0.268, 0.16, 0.836 |
CIE-LCH | 7.553, 28.892, 316.873 |
CIE-LUV | 7.553, 4.587, -13.751 |
Hunter-Lab | 9.144, 11.355, -13.006 |
Binary | 00100100, 00001011, 00110001 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #240b31. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #240b31
This text has a font color of #240b31.
<span style="color:#240b31;">Text here</span>
#240b31 background color
This paragraph has a background color of #240b31.
<p style="background-color:#240b31;">Content here</p>
#240b31 border color
This element has a border color of #240b31.
<div style="border:1px solid #240b31;">Content here</div>
CSS codes
.text {color:#240b31;}
.background {background-color:#240b31;}
.border {border:1px solid #240b31;}
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, #010001 is the darkest color, while #f8f0fc is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0c0411
#0c0411
rgb(12,4,17)
-
#180721
#180721
rgb(24,7,33)
-
#240b31
#240b31
rgb(36,11,49)
-
#300f41
#300f41
rgb(48,15,65)
-
#3c1251
#3c1251
rgb(60,18,81)
-
#471661
#471661
rgb(71,22,97)
-
#531971
#531971
rgb(83,25,113)
-
#5f1d81
#5f1d81
rgb(95,29,129)
-
#6b2191
#6b2191
rgb(107,33,145)
-
#7624a1
#7624a1
rgb(118,36,161)
-
#8228b1
#8228b1
rgb(130,40,177)
-
#8e2bc1
#8e2bc1
rgb(142,43,193)
Shade Color Variation
-
#9930d0
#9930d0
rgb(153,48,208)
-
#a140d4
#a140d4
rgb(161,64,212)
-
#a950d8
#a950d8
rgb(169,80,216)
-
#b160db
#b160db
rgb(177,96,219)
-
#b970df
#b970df
rgb(185,112,223)
-
#c180e2
#c180e2
rgb(193,128,226)
-
#c990e6
#c990e6
rgb(201,144,230)
-
#d0a0ea
#d0a0ea
rgb(208,160,234)
-
#d8b0ed
#d8b0ed
rgb(216,176,237)
-
#e0c0f1
#e0c0f1
rgb(224,192,241)
-
#e8d0f4
#e8d0f4
rgb(232,208,244)
-
#f0e0f8
#f0e0f8
rgb(240,224,248)
-
#f8f0fc
#f8f0fc
rgb(248,240,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #1e1d1f is the less saturated color, while #27023a is the most saturated one.
-
#1e1d1f
#1e1d1f
rgb(30,29,31)
-
#1f1b21
#1f1b21
rgb(31,27,33)
-
#201923
#201923
rgb(32,25,35)
-
#201725
#201725
rgb(32,23,37)
-
#211428
#211428
rgb(33,20,40)
-
#22122a
#22122a
rgb(34,18,42)
-
#23102c
#23102c
rgb(35,16,44)
-
#230d2f
#230d2f
rgb(35,13,47)
-
#240b31
#240b31
rgb(36,11,49)
-
#250933
#250933
rgb(37,9,51)
-
#250636
#250636
rgb(37,6,54)
-
#260438
#260438
rgb(38,4,56)
-
#27023a
#27023a
rgb(39,2,58)
Tone Color Variation
Below, you can see how #240b31 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