#400255 hex color
In a RGB color space, hex #400255 is composed of 25.1% red, 0.8% green and 33.3% blue. Whereas in a CMYK color space, it is composed of 24.7% cyan, 97.6% magenta, 0% yellow and 66.7% black. It has a hue angle of 284.8 degrees, a saturation of 95.4% and a lightness of 17.1%. #400255 color hex could be obtained by blending #8004aa with #000000. Closest websafe color is: #330066.
-
- R 25
- G 1
- B 33
RGB color chart
-
- C 25
- M 98
- Y 0
- K 67
CMYK color chart
● #400255 color description : Very dark violet.
The hexadecimal color #400255 has RGB values of R:64, G:2, B:85 and CMYK values of C:0.25, M:0.98, Y:0, K:0.67. Its decimal value is 4194901.
Hex triplet | 400255 | #400255 |
---|---|---|
RGB Decimal | 64, 2, 85 | rgb(64,2,85) |
RGB Percent | 25.1, 0.8, 33.3 | rgb(25.1%,0.8%,33.3%) |
CMYK | 25, 98, 0, 67 | |
HSL | 284.8°, 95.4, 17.1 | hsl(284.8,95.4%,17.1%) |
HSV (or HSB) | 284.8°, 97.6, 33.3 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 14.341, 39.822, -33.963 |
---|---|
XYZ | 3.776, 1.789, 8.74 |
xyY | 0.264, 0.125, 1.789 |
CIE-LCH | 14.341, 52.338, 319.54 |
CIE-LUV | 14.341, 12.652, -34.488 |
Hunter-Lab | 13.377, 26.971, -29.375 |
Binary | 01000000, 00000010, 01010101 |
Split Complementary Color
Below, you can see some colors close to #400255. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #400255
This text has a font color of #400255.
<span style="color:#400255;">Text here</span>
#400255 background color
This paragraph has a background color of #400255.
<p style="background-color:#400255;">Content here</p>
#400255 border color
This element has a border color of #400255.
<div style="border:1px solid #400255;">Content here</div>
CSS codes
.text {color:#400255;}
.background {background-color:#400255;}
.border {border:1px solid #400255;}
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, #060008 is the darkest color, while #fcf4ff is the lightest one.
-
#060008
#060008
rgb(6,0,8)
-
#15011c
#15011c
rgb(21,1,28)
-
#23012f
#23012f
rgb(35,1,47)
-
#320242
#320242
rgb(50,2,66)
-
#400255
#400255
rgb(64,2,85)
-
#4e0268
#4e0268
rgb(78,2,104)
-
#5d037b
#5d037b
rgb(93,3,123)
-
#6b038e
#6b038e
rgb(107,3,142)
-
#7a04a2
#7a04a2
rgb(122,4,162)
-
#8804b5
#8804b5
rgb(136,4,181)
-
#9705c8
#9705c8
rgb(151,5,200)
-
#a505db
#a505db
rgb(165,5,219)
-
#b306ee
#b306ee
rgb(179,6,238)
Shade Color Variation
-
#be0ef9
#be0ef9
rgb(190,14,249)
-
#c321fa
#c321fa
rgb(195,33,250)
-
#c835fa
#c835fa
rgb(200,53,250)
-
#cd48fb
#cd48fb
rgb(205,72,251)
-
#d35bfb
#d35bfb
rgb(211,91,251)
-
#d86efc
#d86efc
rgb(216,110,252)
-
#dd81fc
#dd81fc
rgb(221,129,252)
-
#e294fc
#e294fc
rgb(226,148,252)
-
#e7a8fd
#e7a8fd
rgb(231,168,253)
-
#edbbfd
#edbbfd
rgb(237,187,253)
-
#f2cefe
#f2cefe
rgb(242,206,254)
-
#f7e1fe
#f7e1fe
rgb(247,225,254)
-
#fcf4ff
#fcf4ff
rgb(252,244,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2c2a2d is the less saturated color, while #400255 is the most saturated one.
-
#2c2a2d
#2c2a2d
rgb(44,42,45)
-
#2e2730
#2e2730
rgb(46,39,48)
-
#2f2334
#2f2334
rgb(47,35,52)
-
#312037
#312037
rgb(49,32,55)
-
#331d3a
#331d3a
rgb(51,29,58)
-
#34193e
#34193e
rgb(52,25,62)
-
#361641
#361641
rgb(54,22,65)
-
#381344
#381344
rgb(56,19,68)
-
#390f48
#390f48
rgb(57,15,72)
-
#3b0c4b
#3b0c4b
rgb(59,12,75)
-
#3d094e
#3d094e
rgb(61,9,78)
-
#3e0552
#3e0552
rgb(62,5,82)
-
#400255
#400255
rgb(64,2,85)
Tone Color Variation
Below, you can see how #400255 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