#40165c Color Information

In a RGB color space, hex #40165c is composed of 25.1% red, 8.6% green and 36.1% blue. Whereas in a CMYK color space, it is composed of 30.4% cyan, 76.1% magenta, 0% yellow and 63.9% black. It has a hue angle of 276 degrees, a saturation of 61.4% and a lightness of 22.4%. #40165c color hex could be obtained by blending #802cb8 with #000000. Closest websafe color is: #330066.

    • R 25
    • G 9
    • B 36
    RGB color chart
    • C 30
    • M 76
    • Y 0
    • K 64
    CMYK color chart

#40165c color description : Very dark violet.

#40165c Color Conversion

The hexadecimal color #40165c has RGB values of R:64, G:22, B:92 and CMYK values of C:0.3, M:0.76, Y:0, K:0.64. Its decimal value is 4200028.

Hex triplet 40165c #40165c
RGB Decimal 64, 22, 92 rgb(64,22,92)
RGB Percent 25.1, 8.6, 36.1 rgb(25.1%,8.6%,36.1%)
CMYK 30, 76, 0, 64
HSL 276°, 61.4, 22.4 hsl(276,61.4%,22.4%)
HSV (or HSB) 276°, 76.1, 36.1
Web Safe 330066 #330066
CIE-LAB 17.629, 33.658, -33.343
XYZ 4.333, 2.437, 10.367
xyY 0.253, 0.142, 2.437
CIE-LCH 17.629, 47.377, 315.269
CIE-LUV 17.629, 9.839, -37.514
Hunter-Lab 15.61, 22.229, -28.449
Binary 01000000, 00010110, 01011100

Color Schemes with #40165c

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

Alternatives to #40165c

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

Similar Colors

#40165c Preview

Text with hexadecimal color #40165c

This text has a font color of #40165c.

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

This paragraph has a background color of #40165c.

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

This element has a border color of #40165c.

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

Shades and Tints of #40165c

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, #09030d is the darkest color, while #fdfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40165c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40165c 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
  • #003466 Protanopia 1% of men
  • #00375b Deuteranopia 1% of men
  • #403236 Tritanopia 0.001% of the population
Trichromacy
  • #172962 Protanomaly 1% of men, 0.01% of women
  • #172b5b Deuteranomaly 6% of men, 0.4% of women
  • #402843 Tritanomaly 0.01% of the population