#40255f hex color
In a RGB color space, hex #40255f is composed of 25.1% red, 14.5% green and 37.3% blue. Whereas in a CMYK color space, it is composed of 32.6% cyan, 61.1% magenta, 0% yellow and 62.7% black. It has a hue angle of 267.9 degrees, a saturation of 43.9% and a lightness of 25.9%. #40255f color hex could be obtained by blending #804abe with #000000. Closest websafe color is: #333366.
-
- R 25
- G 15
- B 37
RGB color chart
-
- C 33
- M 61
- Y 0
- K 63
CMYK color chart
● #40255f color description : Very dark violet.
The hexadecimal color #40255f has RGB values of R:64, G:37, B:95 and CMYK values of C:0.33, M:0.61, Y:0, K:0.63. Its decimal value is 4203871.
Hex triplet | 40255f | #40255f |
---|---|---|
RGB Decimal | 64, 37, 95 | rgb(64,37,95) |
RGB Percent | 25.1, 14.5, 37.3 | rgb(25.1%,14.5%,37.3%) |
CMYK | 33, 61, 0, 63 | |
HSL | 267.9°, 43.9, 25.9 | hsl(267.9,43.9%,25.9%) |
HSV (or HSB) | 267.9°, 61.1, 37.3 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 20.978, 25.953, -29.943 |
---|---|
XYZ | 4.841, 3.239, 11.196 |
xyY | 0.251, 0.168, 3.239 |
CIE-LCH | 20.978, 39.625, 310.917 |
CIE-LUV | 20.978, 6.733, -36.354 |
Hunter-Lab | 17.998, 16.516, -24.283 |
Binary | 01000000, 00100101, 01011111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #40255f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #40255f
This text has a font color of #40255f.
<span style="color:#40255f;">Text here</span>
#40255f background color
This paragraph has a background color of #40255f.
<p style="background-color:#40255f;">Content here</p>
#40255f border color
This element has a border color of #40255f.
<div style="border:1px solid #40255f;">Content here</div>
CSS codes
.text {color:#40255f;}
.background {background-color:#40255f;}
.border {border:1px solid #40255f;}
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, #07040a is the darkest color, while #fcfbfe is the lightest one.
-
#07040a
#07040a
rgb(7,4,10)
-
#100a18
#100a18
rgb(16,10,24)
-
#1a0f27
#1a0f27
rgb(26,15,39)
-
#231535
#231535
rgb(35,21,53)
-
#2d1a43
#2d1a43
rgb(45,26,67)
-
#362051
#362051
rgb(54,32,81)
-
#40255f
#40255f
rgb(64,37,95)
-
#4a2a6d
#4a2a6d
rgb(74,42,109)
-
#53307b
#53307b
rgb(83,48,123)
-
#5d3589
#5d3589
rgb(93,53,137)
-
#663b97
#663b97
rgb(102,59,151)
-
#7040a6
#7040a6
rgb(112,64,166)
-
#7946b4
#7946b4
rgb(121,70,180)
Shade Color Variation
-
#8352bc
#8352bc
rgb(131,82,188)
-
#8d60c1
#8d60c1
rgb(141,96,193)
-
#976ec7
#976ec7
rgb(151,110,199)
-
#a17ccc
#a17ccc
rgb(161,124,204)
-
#ab8ad2
#ab8ad2
rgb(171,138,210)
-
#b698d7
#b698d7
rgb(182,152,215)
-
#c0a6dd
#c0a6dd
rgb(192,166,221)
-
#cab5e2
#cab5e2
rgb(202,181,226)
-
#d4c3e8
#d4c3e8
rgb(212,195,232)
-
#ded1ed
#ded1ed
rgb(222,209,237)
-
#e8dff3
#e8dff3
rgb(232,223,243)
-
#f2edf8
#f2edf8
rgb(242,237,248)
-
#fcfbfe
#fcfbfe
rgb(252,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #423e46 is the less saturated color, while #3e0183 is the most saturated one.
-
#423e46
#423e46
rgb(66,62,70)
-
#41394b
#41394b
rgb(65,57,75)
-
#413450
#413450
rgb(65,52,80)
-
#412f55
#412f55
rgb(65,47,85)
-
#402a5a
#402a5a
rgb(64,42,90)
-
#40255f
#40255f
rgb(64,37,95)
-
#402064
#402064
rgb(64,32,100)
-
#3f1b69
#3f1b69
rgb(63,27,105)
-
#3f166e
#3f166e
rgb(63,22,110)
-
#3f1173
#3f1173
rgb(63,17,115)
-
#3e0c78
#3e0c78
rgb(62,12,120)
-
#3e077d
#3e077d
rgb(62,7,125)
-
#3e0183
#3e0183
rgb(62,1,131)
Tone Color Variation
Below, you can see how #40255f 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