#5f40b4 Color Information

In a RGB color space, hex #5f40b4 is composed of 37.3% red, 25.1% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 47.2% cyan, 64.4% magenta, 0% yellow and 29.4% black. It has a hue angle of 256 degrees, a saturation of 47.5% and a lightness of 47.8%. #5f40b4 color hex could be obtained by blending #be80ff with #000069. Closest websafe color is: #6633cc.

    • R 37
    • G 25
    • B 71
    RGB color chart
    • C 47
    • M 64
    • Y 0
    • K 29
    CMYK color chart

#5f40b4 color description : Moderate violet.

#5f40b4 Color Conversion

The hexadecimal color #5f40b4 has RGB values of R:95, G:64, B:180 and CMYK values of C:0.47, M:0.64, Y:0, K:0.29. Its decimal value is 6242484.

Hex triplet 5f40b4 #5f40b4
RGB Decimal 95, 64, 180 rgb(95,64,180)
RGB Percent 37.3, 25.1, 70.6 rgb(37.3%,25.1%,70.6%)
CMYK 47, 64, 0, 29
HSL 256°, 47.5, 47.8 hsl(256,47.5%,47.8%)
HSV (or HSB) 256°, 64.4, 70.6
Web Safe 6633cc #6633cc
CIE-LAB 36.733, 41.632, -57.18
XYZ 14.789, 9.395, 44.212
xyY 0.216, 0.137, 9.395
CIE-LCH 36.733, 70.731, 306.058
CIE-LUV 36.733, 3.497, -83.618
Hunter-Lab 30.651, 32.49, -64.066
Binary 01011111, 01000000, 10110100

Color Schemes with #5f40b4

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

Alternatives to #5f40b4

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

Similar Colors

#5f40b4 Preview

Text with hexadecimal color #5f40b4

This text has a font color of #5f40b4.

<span style="color:#5f40b4;">Text here</span>
#5f40b4 background color

This paragraph has a background color of #5f40b4.

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

This element has a border color of #5f40b4.

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

Shades and Tints of #5f40b4

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

Shade Color Variation
Tint Color Variation

Tones of #5f40b4

A tone is produced by adding gray to any pure hue. In this case, #79787c is the less saturated color, while #4508ec is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f40b4 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
  • #565656 Achromatopsia 0.005% of the population
  • #585269 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005cb4 Protanopia 1% of men
  • #00619f Deuteranopia 1% of men
  • #4c6269 Tritanopia 0.001% of the population
Trichromacy
  • #2252b4 Protanomaly 1% of men, 0.01% of women
  • #2255a6 Deuteranomaly 6% of men, 0.4% of women
  • #535684 Tritanomaly 0.01% of the population