#40187b Color Information

In a RGB color space, hex #40187b is composed of 25.1% red, 9.4% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 80.5% magenta, 0% yellow and 51.8% black. It has a hue angle of 264.2 degrees, a saturation of 67.3% and a lightness of 28.8%. #40187b color hex could be obtained by blending #8030f6 with #000000. Closest websafe color is: #330066.

    • R 25
    • G 9
    • B 48
    RGB color chart
    • C 48
    • M 80
    • Y 0
    • K 52
    CMYK color chart

#40187b color description : Dark violet.

#40187b Color Conversion

The hexadecimal color #40187b has RGB values of R:64, G:24, B:123 and CMYK values of C:0.48, M:0.8, Y:0, K:0.52. Its decimal value is 4200571.

Hex triplet 40187b #40187b
RGB Decimal 64, 24, 123 rgb(64,24,123)
RGB Percent 25.1, 9.4, 48.2 rgb(25.1%,9.4%,48.2%)
CMYK 48, 80, 0, 52
HSL 264.2°, 67.3, 28.8 hsl(264.2,67.3%,28.8%)
HSV (or HSB) 264.2°, 80.5, 48.2
Web Safe 330066 #330066
CIE-LAB 20.725, 40.961, -48.509
XYZ 6.016, 3.173, 19.033
xyY 0.213, 0.112, 3.173
CIE-LCH 20.725, 63.489, 310.178
CIE-LUV 20.725, 5.252, -56.682
Hunter-Lab 17.814, 29.104, -50.88
Binary 01000000, 00011000, 01111011

Color Schemes with #40187b

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

Alternatives to #40187b

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

Similar Colors

#40187b Preview

Text with hexadecimal color #40187b

This text has a font color of #40187b.

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

This paragraph has a background color of #40187b.

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

This element has a border color of #40187b.

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

Shades and Tints of #40187b

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

Shade Color Variation
Tint Color Variation

Tones of #40187b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40187b 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #322a3e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a72 Protanopia 1% of men
  • #003e64 Deuteranopia 1% of men
  • #353d42 Tritanopia 0.001% of the population
Trichromacy
  • #172e75 Protanomaly 1% of men, 0.01% of women
  • #17306c Deuteranomaly 6% of men, 0.4% of women
  • #393056 Tritanomaly 0.01% of the population