#40168b Color Information

In a RGB color space, hex #40168b is composed of 25.1% red, 8.6% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 84.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 261.5 degrees, a saturation of 72.7% and a lightness of 31.6%. #40168b color hex could be obtained by blending #802cff with #000017. Closest websafe color is: #330099.

    • R 25
    • G 9
    • B 55
    RGB color chart
    • C 54
    • M 84
    • Y 0
    • K 45
    CMYK color chart

#40168b color description : Dark violet.

#40168b Color Conversion

The hexadecimal color #40168b has RGB values of R:64, G:22, B:139 and CMYK values of C:0.54, M:0.84, Y:0, K:0.45. Its decimal value is 4200075.

Hex triplet 40168b #40168b
RGB Decimal 64, 22, 139 rgb(64,22,139)
RGB Percent 25.1, 8.6, 54.5 rgb(25.1%,8.6%,54.5%)
CMYK 54, 84, 0, 45
HSL 261.5°, 72.7, 31.6 hsl(261.5,72.7%,31.6%)
HSV (or HSB) 261.5°, 84.2, 54.5
Web Safe 330099 #330099
CIE-LAB 22.044, 46.202, -56.438
XYZ 7.061, 3.528, 24.734
xyY 0.2, 0.1, 3.528
CIE-LCH 22.044, 72.937, 309.305
CIE-LUV 22.044, 3.624, -66.403
Hunter-Lab 18.782, 34.232, -64.928
Binary 01000000, 00010110, 10001011

Color Schemes with #40168b

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

Alternatives to #40168b

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

Similar Colors

#40168b Preview

Text with hexadecimal color #40168b

This text has a font color of #40168b.

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

This paragraph has a background color of #40168b.

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

This element has a border color of #40168b.

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

Shades and Tints of #40168b

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

Shade Color Variation
Tint Color Variation

Tones of #40168b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40168b 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
  • #332b42 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d77 Protanopia 1% of men
  • #004068 Deuteranopia 1% of men
  • #2b4247 Tritanopia 0.001% of the population
Trichromacy
  • #172f7e Protanomaly 1% of men, 0.01% of women
  • #173174 Deuteranomaly 6% of men, 0.4% of women
  • #323260 Tritanomaly 0.01% of the population