#40157b Color Information

In a RGB color space, hex #40157b is composed of 25.1% red, 8.2% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 82.9% magenta, 0% yellow and 51.8% black. It has a hue angle of 265.3 degrees, a saturation of 70.8% and a lightness of 28.2%. #40157b color hex could be obtained by blending #802af6 with #000000. Closest websafe color is: #330066.

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

#40157b color description : Dark violet.

#40157b Color Conversion

The hexadecimal color #40157b has RGB values of R:64, G:21, B:123 and CMYK values of C:0.48, M:0.83, Y:0, K:0.52. Its decimal value is 4199803.

Hex triplet 40157b #40157b
RGB Decimal 64, 21, 123 rgb(64,21,123)
RGB Percent 25.1, 8.2, 48.2 rgb(25.1%,8.2%,48.2%)
CMYK 48, 83, 0, 52
HSL 265.3°, 70.8, 28.2 hsl(265.3,70.8%,28.2%)
HSV (or HSB) 265.3°, 82.9, 48.2
Web Safe 330066 #330066
CIE-LAB 20.268, 42.282, -49.258
XYZ 5.957, 3.056, 19.014
xyY 0.213, 0.109, 3.056
CIE-LCH 20.268, 64.916, 310.642
CIE-LUV 20.268, 5.555, -56.812
Hunter-Lab 17.482, 30.229, -52.246
Binary 01000000, 00010101, 01111011

Color Schemes with #40157b

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

Alternatives to #40157b

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

Similar Colors

#40157b Preview

Text with hexadecimal color #40157b

This text has a font color of #40157b.

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

This paragraph has a background color of #40157b.

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

This element has a border color of #40157b.

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

Shades and Tints of #40157b

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

Shade Color Variation
Tint Color Variation

Tones of #40157b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40157b 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
  • #2d2d2d Achromatopsia 0.005% of the population
  • #31283d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003970 Protanopia 1% of men
  • #003d62 Deuteranopia 1% of men
  • #353c41 Tritanopia 0.001% of the population
Trichromacy
  • #172c74 Protanomaly 1% of men, 0.01% of women
  • #172e6b Deuteranomaly 6% of men, 0.4% of women
  • #392e56 Tritanomaly 0.01% of the population