#40159a Color Information

In a RGB color space, hex #40159a is composed of 25.1% red, 8.2% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 58.4% cyan, 86.4% magenta, 0% yellow and 39.6% black. It has a hue angle of 259.4 degrees, a saturation of 76% and a lightness of 34.3%. #40159a color hex could be obtained by blending #802aff with #000035. Closest websafe color is: #330099.

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

#40159a color description : Dark violet.

#40159a Color Conversion

The hexadecimal color #40159a has RGB values of R:64, G:21, B:154 and CMYK values of C:0.58, M:0.86, Y:0, K:0.4. Its decimal value is 4199834.

Hex triplet 40159a #40159a
RGB Decimal 64, 21, 154 rgb(64,21,154)
RGB Percent 25.1, 8.2, 60.4 rgb(25.1%,8.2%,60.4%)
CMYK 58, 86, 0, 40
HSL 259.4°, 76, 34.3 hsl(259.4,76%,34.3%)
HSV (or HSB) 259.4°, 86.4, 60.4
Web Safe 330099 #330099
CIE-LAB 23.536, 50.647, -63.267
XYZ 8.214, 3.959, 30.901
xyY 0.191, 0.092, 3.959
CIE-LCH 23.536, 81.042, 308.678
CIE-LUV 23.536, 2.179, -75.286
Hunter-Lab 19.898, 38.867, -78.15
Binary 01000000, 00010101, 10011010

Color Schemes with #40159a

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

Alternatives to #40159a

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

Similar Colors

#40159a Preview

Text with hexadecimal color #40159a

This text has a font color of #40159a.

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

This paragraph has a background color of #40159a.

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

This element has a border color of #40159a.

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

Shades and Tints of #40159a

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

Shade Color Variation
Tint Color Variation

Tones of #40159a

A tone is produced by adding gray to any pure hue. In this case, #55525d is the less saturated color, while #3901ae is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40159a 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
  • #313131 Achromatopsia 0.005% of the population
  • #342b46 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407d Protanopia 1% of men
  • #00446c Deuteranopia 1% of men
  • #1a484d Tritanopia 0.001% of the population
Trichromacy
  • #173087 Protanomaly 1% of men, 0.01% of women
  • #17337d Deuteranomaly 6% of men, 0.4% of women
  • #283569 Tritanomaly 0.01% of the population