#402a7b Color Information
In a RGB color space, hex #402a7b is composed of 25.1% red, 16.5% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 65.9% magenta, 0% yellow and 51.8% black. It has a hue angle of 256.3 degrees, a saturation of 49.1% and a lightness of 32.4%. #402a7b color hex could be obtained by blending #8054f6 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 16
- B 48
-
- C 48
- M 66
- Y 0
- K 52
● #402a7b color description : Dark moderate violet.
#402a7b Color Conversion
The hexadecimal color #402a7b has RGB values of R:64, G:42, B:123 and CMYK values of C:0.48, M:0.66, Y:0, K:0.52. Its decimal value is 4205179.
Hex triplet | 402a7b | #402a7b |
---|---|---|
RGB Decimal | 64, 42, 123 | rgb(64,42,123) |
RGB Percent | 25.1, 16.5, 48.2 | rgb(25.1%,16.5%,48.2%) |
CMYK | 48, 66, 0, 52 | |
HSL | 256.3°, 49.1, 32.4 | hsl(256.3,49.1%,32.4%) |
HSV (or HSB) | 256.3°, 65.9, 48.2 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 24.245, 31.178, -42.767 |
---|---|
XYZ | 6.517, 4.176, 19.2 |
xyY | 0.218, 0.14, 4.176 |
CIE-LCH | 24.245, 52.925, 306.093 |
CIE-LUV | 24.245, 2.461, -54.16 |
Hunter-Lab | 20.435, 21.163, -41.404 |
Binary | 01000000, 00101010, 01111011 |
Color Schemes with #402a7b
Alternatives to #402a7b
Below, you can see some colors close to #402a7b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402a7b Preview
This text has a font color of #402a7b.
<span style="color:#402a7b;">Text here</span>
This paragraph has a background color of #402a7b.
<p style="background-color:#402a7b;">Content here</p>
This element has a border color of #402a7b.
<div style="border:1px solid #402a7b;">Content here</div>
.text {color:#402a7b;}
.background {background-color:#402a7b;}
.border {border:1px solid #402a7b;}
Shades and Tints of #402a7b
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, #030206 is the darkest color, while #f8f6fc is the lightest one.
-
#030206
#030206
rgb(3,2,6)
-
#0b0715
#0b0715
rgb(11,7,21)
-
#120c23
#120c23
rgb(18,12,35)
-
#1a1132
#1a1132
rgb(26,17,50)
-
#221641
#221641
rgb(34,22,65)
-
#291b4f
#291b4f
rgb(41,27,79)
-
#31205e
#31205e
rgb(49,32,94)
-
#38256c
#38256c
rgb(56,37,108)
-
#402a7b
#402a7b
rgb(64,42,123)
-
#482f8a
#482f8a
rgb(72,47,138)
-
#4f3498
#4f3498
rgb(79,52,152)
-
#5739a7
#5739a7
rgb(87,57,167)
-
#5e3eb5
#5e3eb5
rgb(94,62,181)
-
#6847c0
#6847c0
rgb(104,71,192)
-
#7456c5
#7456c5
rgb(116,86,197)
-
#8064ca
#8064ca
rgb(128,100,202)
-
#8c73cf
#8c73cf
rgb(140,115,207)
-
#9881d4
#9881d4
rgb(152,129,212)
-
#a490d9
#a490d9
rgb(164,144,217)
-
#b09fde
#b09fde
rgb(176,159,222)
-
#bcade3
#bcade3
rgb(188,173,227)
-
#c8bce8
#c8bce8
rgb(200,188,232)
-
#d4cbed
#d4cbed
rgb(212,203,237)
-
#e0d9f2
#e0d9f2
rgb(224,217,242)
-
#ece8f7
#ece8f7
rgb(236,232,247)
-
#f8f6fc
#f8f6fc
rgb(248,246,252)
Tones of #402a7b
A tone is produced by adding gray to any pure hue. In this case, #515055 is the less saturated color, while #2f04a1 is the most saturated one.
-
#515055
#515055
rgb(81,80,85)
-
#4e4a5b
#4e4a5b
rgb(78,74,91)
-
#4c4362
#4c4362
rgb(76,67,98)
-
#493d68
#493d68
rgb(73,61,104)
-
#46376e
#46376e
rgb(70,55,110)
-
#433075
#433075
rgb(67,48,117)
-
#402a7b
#402a7b
rgb(64,42,123)
-
#3d2481
#3d2481
rgb(61,36,129)
-
#3a1d88
#3a1d88
rgb(58,29,136)
-
#37178e
#37178e
rgb(55,23,142)
-
#341194
#341194
rgb(52,17,148)
-
#320a9b
#320a9b
rgb(50,10,155)
-
#2f04a1
#2f04a1
rgb(47,4,161)
Color Blindness Simulator
Below, you can see how #402a7b 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.