#240042 hex color
In a RGB color space, hex #240042 is composed of 14.1% red, 0% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 100% magenta, 0% yellow and 74.1% black. It has a hue angle of 272.7 degrees, a saturation of 100% and a lightness of 12.9%. #240042 color hex could be obtained by blending #480084 with #000000. Closest websafe color is: #330033.
-
- R 14
- G 0
- B 26
RGB color chart
-
- C 45
- M 100
- Y 0
- K 74
CMYK color chart
● #240042 color description : Very dark violet.
The hexadecimal color #240042 has RGB values of R:36, G:0, B:66 and CMYK values of C:0.45, M:1, Y:0, K:0.74. Its decimal value is 2359362.
Hex triplet | 240042 | #240042 |
---|---|---|
RGB Decimal | 36, 0, 66 | rgb(36,0,66) |
RGB Percent | 14.1, 0, 25.9 | rgb(14.1%,0%,25.9%) |
CMYK | 45, 100, 0, 74 | |
HSL | 272.7°, 100, 12.9 | hsl(272.7,100%,12.9%) |
HSV (or HSB) | 272.7°, 100, 25.9 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 6.941, 32.151, -33.065 |
---|---|
XYZ | 1.711, 0.768, 5.212 |
xyY | 0.222, 0.1, 0.768 |
CIE-LCH | 6.941, 46.119, 314.197 |
CIE-LUV | 6.941, 3.534, -20.647 |
Hunter-Lab | 8.766, 19.495, -29.117 |
Binary | 00100100, 00000000, 01000010 |
Split Complementary Color
Below, you can see some colors close to #240042. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #240042
This text has a font color of #240042.
<span style="color:#240042;">Text here</span>
#240042 background color
This paragraph has a background color of #240042.
<p style="background-color:#240042;">Content here</p>
#240042 border color
This element has a border color of #240042.
<div style="border:1px solid #240042;">Content here</div>
CSS codes
.text {color:#240042;}
.background {background-color:#240042;}
.border {border:1px solid #240042;}
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, #040007 is the darkest color, while #f9f3ff is the lightest one.
-
#040007
#040007
rgb(4,0,7)
-
#0f001b
#0f001b
rgb(15,0,27)
-
#19002e
#19002e
rgb(25,0,46)
-
#240042
#240042
rgb(36,0,66)
-
#2f0056
#2f0056
rgb(47,0,86)
-
#390069
#390069
rgb(57,0,105)
-
#44007d
#44007d
rgb(68,0,125)
-
#4f0090
#4f0090
rgb(79,0,144)
-
#5900a4
#5900a4
rgb(89,0,164)
-
#6400b8
#6400b8
rgb(100,0,184)
-
#6f00cb
#6f00cb
rgb(111,0,203)
-
#7a00df
#7a00df
rgb(122,0,223)
-
#8400f3
#8400f3
rgb(132,0,243)
Shade Color Variation
-
#8e07ff
#8e07ff
rgb(142,7,255)
-
#971bff
#971bff
rgb(151,27,255)
-
#a02eff
#a02eff
rgb(160,46,255)
-
#a942ff
#a942ff
rgb(169,66,255)
-
#b256ff
#b256ff
rgb(178,86,255)
-
#bb69ff
#bb69ff
rgb(187,105,255)
-
#c47dff
#c47dff
rgb(196,125,255)
-
#cd90ff
#cd90ff
rgb(205,144,255)
-
#d6a4ff
#d6a4ff
rgb(214,164,255)
-
#dfb8ff
#dfb8ff
rgb(223,184,255)
-
#e8cbff
#e8cbff
rgb(232,203,255)
-
#f0dfff
#f0dfff
rgb(240,223,255)
-
#f9f3ff
#f9f3ff
rgb(249,243,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #211e24 is the less saturated color, while #240042 is the most saturated one.
-
#211e24
#211e24
rgb(33,30,36)
-
#211c26
#211c26
rgb(33,28,38)
-
#221929
#221929
rgb(34,25,41)
-
#22172b
#22172b
rgb(34,23,43)
-
#22142e
#22142e
rgb(34,20,46)
-
#221230
#221230
rgb(34,18,48)
-
#230f33
#230f33
rgb(35,15,51)
-
#230d35
#230d35
rgb(35,13,53)
-
#230a38
#230a38
rgb(35,10,56)
-
#23083a
#23083a
rgb(35,8,58)
-
#24053d
#24053d
rgb(36,5,61)
-
#24033f
#24033f
rgb(36,3,63)
-
#240042
#240042
rgb(36,0,66)
Tone Color Variation
Below, you can see how #240042 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