#40156b Color Information

In a RGB color space, hex #40156b is composed of 25.1% red, 8.2% green and 42% blue. Whereas in a CMYK color space, it is composed of 40.2% cyan, 80.4% magenta, 0% yellow and 58% black. It has a hue angle of 270 degrees, a saturation of 67.2% and a lightness of 25.1%. #40156b color hex could be obtained by blending #802ad6 with #000000. Closest websafe color is: #330066.

    • R 25
    • G 8
    • B 42
    RGB color chart
    • C 40
    • M 80
    • Y 0
    • K 58
    CMYK color chart

#40156b color description : Very dark violet.

#40156b Color Conversion

The hexadecimal color #40156b has RGB values of R:64, G:21, B:107 and CMYK values of C:0.4, M:0.8, Y:0, K:0.58. Its decimal value is 4199787.

Hex triplet 40156b #40156b
RGB Decimal 64, 21, 107 rgb(64,21,107)
RGB Percent 25.1, 8.2, 42 rgb(25.1%,8.2%,42%)
CMYK 40, 80, 0, 58
HSL 270°, 67.2, 25.1 hsl(270,67.2%,25.1%)
HSV (or HSB) 270°, 80.4, 42
Web Safe 330066 #330066
CIE-LAB 18.748, 38.019, -41.424
XYZ 5.036, 2.688, 14.163
xyY 0.23, 0.123, 2.688
CIE-LCH 18.748, 56.227, 312.546
CIE-LUV 18.748, 7.672, -47.025
Hunter-Lab 16.395, 26.138, -39.741
Binary 01000000, 00010101, 01101011

Color Schemes with #40156b

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

Alternatives to #40156b

Below, you can see some colors close to #40156b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#40156b Preview

Text with hexadecimal color #40156b

This text has a font color of #40156b.

<span style="color:#40156b;">Text here</span>
#40156b background color

This paragraph has a background color of #40156b.

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

This element has a border color of #40156b.

<div style="border:1px solid #40156b;">Content here</div>
CSS codes
.text {color:#40156b;}
.background {background-color:#40156b;}
.border {border:1px solid #40156b;}

Shades and Tints of #40156b

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, #050209 is the darkest color, while #faf7fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40156b

A tone is produced by adding gray to any pure hue. In this case, #403c44 is the less saturated color, while #40017f is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40156b 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #302739 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00366a Protanopia 1% of men
  • #00395e Deuteranopia 1% of men
  • #3b373b Tritanopia 0.001% of the population
Trichromacy
  • #172a6a Protanomaly 1% of men, 0.01% of women
  • #172c62 Deuteranomaly 6% of men, 0.4% of women
  • #3d2a4c Tritanomaly 0.01% of the population