#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
    RGB color chart
    • C 48
    • M 66
    • Y 0
    • K 52
    CMYK color chart

#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

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

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.

Similar Colors

#402a7b Preview

Text with hexadecimal color #402a7b

This text has a font color of #402a7b.

<span style="color:#402a7b;">Text here</span>
#402a7b background color

This paragraph has a background color of #402a7b.

<p style="background-color:#402a7b;">Content here</p>
#402a7b border color

This element has a border color of #402a7b.

<div style="border:1px solid #402a7b;">Content here</div>
CSS codes
.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.

Shade Color Variation
Tint Color Variation

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.

Tone Color Variation

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.

Monochromacy
  • #3a3a3a Achromatopsia 0.005% of the population
  • #3b3747 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004180 Protanopia 1% of men
  • #004571 Deuteranopia 1% of men
  • #37464b Tritanopia 0.001% of the population
Trichromacy
  • #17397e Protanomaly 1% of men, 0.01% of women
  • #173b75 Deuteranomaly 6% of men, 0.4% of women
  • #3a3b5c Tritanomaly 0.01% of the population