#40168c Color Information

In a RGB color space, hex #40168c is composed of 25.1% red, 8.6% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 84.3% magenta, 0% yellow and 45.1% black. It has a hue angle of 261.4 degrees, a saturation of 72.8% and a lightness of 31.8%. #40168c color hex could be obtained by blending #802cff with #000019. 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

#40168c color description : Dark violet.

#40168c Color Conversion

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

Hex triplet 40168c #40168c
RGB Decimal 64, 22, 140 rgb(64,22,140)
RGB Percent 25.1, 8.6, 54.9 rgb(25.1%,8.6%,54.9%)
CMYK 54, 84, 0, 45
HSL 261.4°, 72.8, 31.8 hsl(261.4,72.8%,31.8%)
HSV (or HSB) 261.4°, 84.3, 54.9
Web Safe 330099 #330099
CIE-LAB 22.15, 46.474, -56.889
XYZ 7.134, 3.557, 25.12
xyY 0.199, 0.099, 3.557
CIE-LCH 22.15, 73.459, 309.246
CIE-LUV 22.15, 3.517, -67
Hunter-Lab 18.86, 34.513, -65.766
Binary 01000000, 00010110, 10001100

Color Schemes with #40168c

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

Alternatives to #40168c

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

Similar Colors

#40168c Preview

Text with hexadecimal color #40168c

This text has a font color of #40168c.

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

This paragraph has a background color of #40168c.

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

This element has a border color of #40168c.

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

Shades and Tints of #40168c

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 #40168c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40168c 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
  • #004168 Deuteranopia 1% of men
  • #2a4348 Tritanopia 0.001% of the population
Trichromacy
  • #172f7f Protanomaly 1% of men, 0.01% of women
  • #173175 Deuteranomaly 6% of men, 0.4% of women
  • #323260 Tritanomaly 0.01% of the population