#40156c Color Information

In a RGB color space, hex #40156c is composed of 25.1% red, 8.2% green and 42.4% blue. Whereas in a CMYK color space, it is composed of 40.7% cyan, 80.6% magenta, 0% yellow and 57.6% black. It has a hue angle of 269.7 degrees, a saturation of 67.4% and a lightness of 25.3%. #40156c color hex could be obtained by blending #802ad8 with #000000. Closest websafe color is: #330066.

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

#40156c color description : Very dark violet.

#40156c Color Conversion

The hexadecimal color #40156c has RGB values of R:64, G:21, B:108 and CMYK values of C:0.41, M:0.81, Y:0, K:0.58. Its decimal value is 4199788.

Hex triplet 40156c #40156c
RGB Decimal 64, 21, 108 rgb(64,21,108)
RGB Percent 25.1, 8.2, 42.4 rgb(25.1%,8.2%,42.4%)
CMYK 41, 81, 0, 58
HSL 269.7°, 67.4, 25.3 hsl(269.7,67.4%,25.3%)
HSV (or HSB) 269.7°, 80.6, 42.4
Web Safe 330066 #330066
CIE-LAB 18.839, 38.283, -41.928
XYZ 5.089, 2.709, 14.441
xyY 0.229, 0.122, 2.709
CIE-LCH 18.839, 56.776, 312.398
CIE-LUV 18.839, 7.53, -47.643
Hunter-Lab 16.459, 26.385, -40.5
Binary 01000000, 00010101, 01101100

Color Schemes with #40156c

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

Alternatives to #40156c

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

Similar Colors

#40156c Preview

Text with hexadecimal color #40156c

This text has a font color of #40156c.

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

This paragraph has a background color of #40156c.

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

This element has a border color of #40156c.

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

Shades and Tints of #40156c

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

Shade Color Variation
Tint Color Variation

Tones of #40156c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40156c 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
  • #00376b Protanopia 1% of men
  • #00395e Deuteranopia 1% of men
  • #3b373b Tritanopia 0.001% of the population
Trichromacy
  • #172a6b Protanomaly 1% of men, 0.01% of women
  • #172c63 Deuteranomaly 6% of men, 0.4% of women
  • #3d2a4d Tritanomaly 0.01% of the population