#40159e Color Information

In a RGB color space, hex #40159e is composed of 25.1% red, 8.2% green and 62% blue. Whereas in a CMYK color space, it is composed of 59.5% cyan, 86.7% magenta, 0% yellow and 38% black. It has a hue angle of 258.8 degrees, a saturation of 76.5% and a lightness of 35.1%. #40159e color hex could be obtained by blending #802aff with #00003d. Closest websafe color is: #330099.

    • R 25
    • G 8
    • B 62
    RGB color chart
    • C 59
    • M 87
    • Y 0
    • K 38
    CMYK color chart

#40159e color description : Dark violet.

#40159e Color Conversion

The hexadecimal color #40159e has RGB values of R:64, G:21, B:158 and CMYK values of C:0.59, M:0.87, Y:0, K:0.38. Its decimal value is 4199838.

Hex triplet 40159e #40159e
RGB Decimal 64, 21, 158 rgb(64,21,158)
RGB Percent 25.1, 8.2, 62 rgb(25.1%,8.2%,62%)
CMYK 59, 87, 0, 38
HSL 258.8°, 76.5, 35.1 hsl(258.8,76.5%,35.1%)
HSV (or HSB) 258.8°, 86.7, 62
Web Safe 330099 #330099
CIE-LAB 23.982, 51.722, -64.98
XYZ 8.553, 4.095, 32.686
xyY 0.189, 0.09, 4.095
CIE-LCH 23.982, 83.052, 308.519
CIE-LUV 23.982, 1.797, -77.635
Hunter-Lab 20.235, 40.035, -81.604
Binary 01000000, 00010101, 10011110

Color Schemes with #40159e

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

Alternatives to #40159e

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

Similar Colors

#40159e Preview

Text with hexadecimal color #40159e

This text has a font color of #40159e.

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

This paragraph has a background color of #40159e.

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

This element has a border color of #40159e.

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

Shades and Tints of #40159e

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

Shade Color Variation
Tint Color Variation

Tones of #40159e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40159e 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
  • #342b47 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #00456e Deuteranopia 1% of men
  • #11494f Tritanopia 0.001% of the population
Trichromacy
  • #17318a Protanomaly 1% of men, 0.01% of women
  • #17337f Deuteranomaly 6% of men, 0.4% of women
  • #22366b Tritanomaly 0.01% of the population