#40156f Color Information

In a RGB color space, hex #40156f is composed of 25.1% red, 8.2% green and 43.5% blue. Whereas in a CMYK color space, it is composed of 42.3% cyan, 81.1% magenta, 0% yellow and 56.5% black. It has a hue angle of 268.7 degrees, a saturation of 68.2% and a lightness of 25.9%. #40156f color hex could be obtained by blending #802ade with #000000. Closest websafe color is: #330066.

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

#40156f color description : Very dark violet.

#40156f Color Conversion

The hexadecimal color #40156f has RGB values of R:64, G:21, B:111 and CMYK values of C:0.42, M:0.81, Y:0, K:0.56. Its decimal value is 4199791.

Hex triplet 40156f #40156f
RGB Decimal 64, 21, 111 rgb(64,21,111)
RGB Percent 25.1, 8.2, 43.5 rgb(25.1%,8.2%,43.5%)
CMYK 42, 81, 0, 56
HSL 268.7°, 68.2, 25.9 hsl(268.7,68.2%,25.9%)
HSV (or HSB) 268.7°, 81.1, 43.5
Web Safe 330066 #330066
CIE-LAB 19.115, 39.076, -43.427
XYZ 5.251, 2.774, 15.297
xyY 0.225, 0.119, 2.774
CIE-LCH 19.115, 58.419, 311.981
CIE-LUV 19.115, 7.113, -49.492
Hunter-Lab 16.655, 27.132, -42.795
Binary 01000000, 00010101, 01101111

Color Schemes with #40156f

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

Alternatives to #40156f

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

Similar Colors

#40156f Preview

Text with hexadecimal color #40156f

This text has a font color of #40156f.

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

This paragraph has a background color of #40156f.

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

This element has a border color of #40156f.

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

Shades and Tints of #40156f

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, #07020c is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40156f

A tone is produced by adding gray to any pure hue. In this case, #423e46 is the less saturated color, while #3f0183 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40156f 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
  • #00376c Protanopia 1% of men
  • #003a5f Deuteranopia 1% of men
  • #3a383c Tritanopia 0.001% of the population
Trichromacy
  • #172b6d Protanomaly 1% of men, 0.01% of women
  • #172c64 Deuteranomaly 6% of men, 0.4% of women
  • #3c2b4e Tritanomaly 0.01% of the population