#40178a Color Information

In a RGB color space, hex #40178a is composed of 25.1% red, 9% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 83.3% magenta, 0% yellow and 45.9% black. It has a hue angle of 261.4 degrees, a saturation of 71.4% and a lightness of 31.6%. #40178a color hex could be obtained by blending #802eff with #000015. Closest websafe color is: #330099.

    • R 25
    • G 9
    • B 54
    RGB color chart
    • C 54
    • M 83
    • Y 0
    • K 46
    CMYK color chart

#40178a color description : Dark violet.

#40178a Color Conversion

The hexadecimal color #40178a has RGB values of R:64, G:23, B:138 and CMYK values of C:0.54, M:0.83, Y:0, K:0.46. Its decimal value is 4200330.

Hex triplet 40178a #40178a
RGB Decimal 64, 23, 138 rgb(64,23,138)
RGB Percent 25.1, 9, 54.1 rgb(25.1%,9%,54.1%)
CMYK 54, 83, 0, 46
HSL 261.4°, 71.4, 31.6 hsl(261.4,71.4%,31.6%)
HSV (or HSB) 261.4°, 83.3, 54.1
Web Safe 330099 #330099
CIE-LAB 22.08, 45.519, -55.754
XYZ 7.007, 3.538, 24.357
xyY 0.201, 0.101, 3.538
CIE-LCH 22.08, 71.976, 309.229
CIE-LUV 22.08, 3.64, -65.79
Hunter-Lab 18.809, 33.587, -63.614
Binary 01000000, 00010111, 10001010

Color Schemes with #40178a

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

Alternatives to #40178a

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

Similar Colors

#40178a Preview

Text with hexadecimal color #40178a

This text has a font color of #40178a.

<span style="color:#40178a;">Text here</span>
#40178a background color

This paragraph has a background color of #40178a.

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

This element has a border color of #40178a.

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

Shades and Tints of #40178a

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

Shade Color Variation
Tint Color Variation

Tones of #40178a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40178a 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.

  • #303030 Achromatopsia 0.005% of the population
  • #332b42 Atypical Achromatopsia 0.001% of the population
  • #003d77 Protanopia 1% of men
  • #004168 Deuteranopia 1% of men
  • #2c4247 Tritanopia 0.001% of the population
  • #172f7e Protanomaly 1% of men, 0.01% of women
  • #173174 Deuteranomaly 6% of men, 0.4% of women
  • #33325f Tritanomaly 0.01% of the population