#40165e Color Information

In a RGB color space, hex #40165e is composed of 25.1% red, 8.6% green and 36.9% blue. Whereas in a CMYK color space, it is composed of 31.9% cyan, 76.6% magenta, 0% yellow and 63.1% black. It has a hue angle of 275 degrees, a saturation of 62.1% and a lightness of 22.7%. #40165e color hex could be obtained by blending #802cbc with #000000. Closest websafe color is: #330066.

    • R 25
    • G 9
    • B 37
    RGB color chart
    • C 32
    • M 77
    • Y 0
    • K 63
    CMYK color chart

#40165e color description : Very dark violet.

#40165e Color Conversion

The hexadecimal color #40165e has RGB values of R:64, G:22, B:94 and CMYK values of C:0.32, M:0.77, Y:0, K:0.63. Its decimal value is 4200030.

Hex triplet 40165e #40165e
RGB Decimal 64, 22, 94 rgb(64,22,94)
RGB Percent 25.1, 8.6, 36.9 rgb(25.1%,8.6%,36.9%)
CMYK 32, 77, 0, 63
HSL 275°, 62.1, 22.7 hsl(275,62.1%,22.7%)
HSV (or HSB) 275°, 76.6, 36.9
Web Safe 330066 #330066
CIE-LAB 17.792, 34.168, -34.414
XYZ 4.421, 2.472, 10.833
xyY 0.249, 0.139, 2.472
CIE-LCH 17.792, 48.495, 314.795
CIE-LUV 17.792, 9.517, -38.785
Hunter-Lab 15.723, 22.681, -29.846
Binary 01000000, 00010110, 01011110

Color Schemes with #40165e

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

Alternatives to #40165e

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

Similar Colors

#40165e Preview

Text with hexadecimal color #40165e

This text has a font color of #40165e.

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

This paragraph has a background color of #40165e.

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

This element has a border color of #40165e.

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

Shades and Tints of #40165e

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

Shade Color Variation
Tint Color Variation

Tones of #40165e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40165e 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
  • #2b2b2b Achromatopsia 0.005% of the population
  • #2f2735 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003467 Protanopia 1% of men
  • #00375c Deuteranopia 1% of men
  • #3f3336 Tritanopia 0.001% of the population
Trichromacy
  • #172963 Protanomaly 1% of men, 0.01% of women
  • #172b5c Deuteranomaly 6% of men, 0.4% of women
  • #3f2845 Tritanomaly 0.01% of the population