#40158f Color Information

In a RGB color space, hex #40158f is composed of 25.1% red, 8.2% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 85.3% magenta, 0% yellow and 43.9% black. It has a hue angle of 261.1 degrees, a saturation of 74.4% and a lightness of 32.2%. #40158f color hex could be obtained by blending #802aff with #00001f. Closest websafe color is: #330099.

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

#40158f color description : Dark violet.

#40158f Color Conversion

The hexadecimal color #40158f has RGB values of R:64, G:21, B:143 and CMYK values of C:0.55, M:0.85, Y:0, K:0.44. Its decimal value is 4199823.

Hex triplet 40158f #40158f
RGB Decimal 64, 21, 143 rgb(64,21,143)
RGB Percent 25.1, 8.2, 56.1 rgb(25.1%,8.2%,56.1%)
CMYK 55, 85, 0, 44
HSL 261.1°, 74.4, 32.2 hsl(261.1,74.4%,32.2%)
HSV (or HSB) 261.1°, 85.3, 56.1
Web Safe 330099 #330099
CIE-LAB 22.335, 47.68, -58.452
XYZ 7.34, 3.609, 26.295
xyY 0.197, 0.097, 3.609
CIE-LCH 22.335, 75.432, 309.204
CIE-LUV 22.335, 3.286, -68.789
Hunter-Lab 18.998, 35.712, -68.763
Binary 01000000, 00010101, 10001111

Color Schemes with #40158f

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

Alternatives to #40158f

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

Similar Colors

#40158f Preview

Text with hexadecimal color #40158f

This text has a font color of #40158f.

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

This paragraph has a background color of #40158f.

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

This element has a border color of #40158f.

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

Shades and Tints of #40158f

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 #f7f4fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40158f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40158f 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
  • #303030 Achromatopsia 0.005% of the population
  • #332b43 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e78 Protanopia 1% of men
  • #004168 Deuteranopia 1% of men
  • #274448 Tritanopia 0.001% of the population
Trichromacy
  • #172f80 Protanomaly 1% of men, 0.01% of women
  • #173176 Deuteranomaly 6% of men, 0.4% of women
  • #303262 Tritanomaly 0.01% of the population