#40156a Color Information

In a RGB color space, hex #40156a is composed of 25.1% red, 8.2% green and 41.6% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 80.2% magenta, 0% yellow and 58.4% black. It has a hue angle of 270.4 degrees, a saturation of 66.9% and a lightness of 24.9%. #40156a color hex could be obtained by blending #802ad4 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

#40156a color description : Very dark violet.

#40156a Color Conversion

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

Hex triplet 40156a #40156a
RGB Decimal 64, 21, 106 rgb(64,21,106)
RGB Percent 25.1, 8.2, 41.6 rgb(25.1%,8.2%,41.6%)
CMYK 40, 80, 0, 58
HSL 270.4°, 66.9, 24.9 hsl(270.4,66.9%,24.9%)
HSV (or HSB) 270.4°, 80.2, 41.6
Web Safe 330066 #330066
CIE-LAB 18.658, 37.757, -40.919
XYZ 4.984, 2.667, 13.887
xyY 0.231, 0.124, 2.667
CIE-LCH 18.658, 55.677, 312.698
CIE-LUV 18.658, 7.815, -46.406
Hunter-Lab 16.331, 25.893, -38.986
Binary 01000000, 00010101, 01101010

Color Schemes with #40156a

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

Alternatives to #40156a

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

Similar Colors

#40156a Preview

Text with hexadecimal color #40156a

This text has a font color of #40156a.

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

This paragraph has a background color of #40156a.

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

This element has a border color of #40156a.

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

Shades and Tints of #40156a

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

Shade Color Variation
Tint Color Variation

Tones of #40156a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40156a 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
  • #302738 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00366a Protanopia 1% of men
  • #00395d Deuteranopia 1% of men
  • #3c363a 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
  • #3d2a4b Tritanomaly 0.01% of the population