#40157d Color Information

In a RGB color space, hex #40157d is composed of 25.1% red, 8.2% green and 49% blue. Whereas in a CMYK color space, it is composed of 48.8% cyan, 83.2% magenta, 0% yellow and 51% black. It has a hue angle of 264.8 degrees, a saturation of 71.2% and a lightness of 28.6%. #40157d color hex could be obtained by blending #802afa with #000000. Closest websafe color is: #330066.

    • R 25
    • G 8
    • B 49
    RGB color chart
    • C 49
    • M 83
    • Y 0
    • K 51
    CMYK color chart

#40157d color description : Dark violet.

#40157d Color Conversion

The hexadecimal color #40157d has RGB values of R:64, G:21, B:125 and CMYK values of C:0.49, M:0.83, Y:0, K:0.51. Its decimal value is 4199805.

Hex triplet 40157d #40157d
RGB Decimal 64, 21, 125 rgb(64,21,125)
RGB Percent 25.1, 8.2, 49 rgb(25.1%,8.2%,49%)
CMYK 49, 83, 0, 51
HSL 264.8°, 71.2, 28.6 hsl(264.8,71.2%,28.6%)
HSV (or HSB) 264.8°, 83.2, 49
Web Safe 330066 #330066
CIE-LAB 20.467, 42.82, -50.205
XYZ 6.084, 3.107, 19.68
xyY 0.211, 0.108, 3.107
CIE-LCH 20.467, 65.986, 310.461
CIE-LUV 20.467, 5.311, -58.021
Hunter-Lab 17.627, 30.76, -53.859
Binary 01000000, 00010101, 01111101

Color Schemes with #40157d

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

Alternatives to #40157d

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

Similar Colors

#40157d Preview

Text with hexadecimal color #40157d

This text has a font color of #40157d.

<span style="color:#40157d;">Text here</span>
#40157d background color

This paragraph has a background color of #40157d.

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

This element has a border color of #40157d.

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

Shades and Tints of #40157d

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

Shade Color Variation
Tint Color Variation

Tones of #40157d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40157d 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #32293e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a71 Protanopia 1% of men
  • #003d63 Deuteranopia 1% of men
  • #343d41 Tritanopia 0.001% of the population
Trichromacy
  • #172c75 Protanomaly 1% of men, 0.01% of women
  • #172e6c Deuteranomaly 6% of men, 0.4% of women
  • #382e57 Tritanomaly 0.01% of the population