#40165b Color Information

In a RGB color space, hex #40165b is composed of 25.1% red, 8.6% green and 35.7% blue. Whereas in a CMYK color space, it is composed of 29.7% cyan, 75.8% magenta, 0% yellow and 64.3% black. It has a hue angle of 276.5 degrees, a saturation of 61.1% and a lightness of 22.2%. #40165b color hex could be obtained by blending #802cb6 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

#40165b color description : Very dark violet.

#40165b Color Conversion

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

Hex triplet 40165b #40165b
RGB Decimal 64, 22, 91 rgb(64,22,91)
RGB Percent 25.1, 8.6, 35.7 rgb(25.1%,8.6%,35.7%)
CMYK 30, 76, 0, 64
HSL 276.5°, 61.1, 22.2 hsl(276.5,61.1%,22.2%)
HSV (or HSB) 276.5°, 75.8, 35.7
Web Safe 330066 #330066
CIE-LAB 17.549, 33.404, -32.805
XYZ 4.289, 2.419, 10.138
xyY 0.255, 0.144, 2.419
CIE-LCH 17.549, 46.819, 315.519
CIE-LUV 17.549, 10.002, -36.876
Hunter-Lab 15.554, 22.006, -27.757
Binary 01000000, 00010110, 01011011

Color Schemes with #40165b

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

Alternatives to #40165b

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

Similar Colors

#40165b Preview

Text with hexadecimal color #40165b

This text has a font color of #40165b.

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

This paragraph has a background color of #40165b.

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

This element has a border color of #40165b.

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

Shades and Tints of #40165b

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, #08030c is the darkest color, while #fdfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40165b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40165b 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #2e2634 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003466 Protanopia 1% of men
  • #00375b Deuteranopia 1% of men
  • #403235 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