#5f40b5 Color Information

In a RGB color space, hex #5f40b5 is composed of 37.3% red, 25.1% green and 71% blue. Whereas in a CMYK color space, it is composed of 47.5% cyan, 64.6% magenta, 0% yellow and 29% black. It has a hue angle of 255.9 degrees, a saturation of 47.8% and a lightness of 48%. #5f40b5 color hex could be obtained by blending #be80ff with #00006b. Closest websafe color is: #6633cc.

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

#5f40b5 color description : Moderate violet.

#5f40b5 Color Conversion

The hexadecimal color #5f40b5 has RGB values of R:95, G:64, B:181 and CMYK values of C:0.48, M:0.65, Y:0, K:0.29. Its decimal value is 6242485.

Hex triplet 5f40b5 #5f40b5
RGB Decimal 95, 64, 181 rgb(95,64,181)
RGB Percent 37.3, 25.1, 71 rgb(37.3%,25.1%,71%)
CMYK 48, 65, 0, 29
HSL 255.9°, 47.8, 48 hsl(255.9,47.8%,48%)
HSV (or HSB) 255.9°, 64.6, 71
Web Safe 6633cc #6633cc
CIE-LAB 36.81, 41.921, -57.648
XYZ 14.892, 9.436, 44.75
xyY 0.216, 0.137, 9.436
CIE-LCH 36.81, 71.278, 306.024
CIE-LUV 36.81, 3.39, -84.311
Hunter-Lab 30.717, 32.78, -64.873
Binary 01011111, 01000000, 10110101

Color Schemes with #5f40b5

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

Alternatives to #5f40b5

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

Similar Colors

#5f40b5 Preview

Text with hexadecimal color #5f40b5

This text has a font color of #5f40b5.

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

This paragraph has a background color of #5f40b5.

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

This element has a border color of #5f40b5.

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

Shades and Tints of #5f40b5

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

Shade Color Variation
Tint Color Variation

Tones of #5f40b5

A tone is produced by adding gray to any pure hue. In this case, #7a797c is the less saturated color, while #4407ee is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f40b5 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
  • #575757 Achromatopsia 0.005% of the population
  • #59526a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005cb4 Protanopia 1% of men
  • #00619f Deuteranopia 1% of men
  • #4b636a Tritanopia 0.001% of the population
Trichromacy
  • #2252b4 Protanomaly 1% of men, 0.01% of women
  • #2255a7 Deuteranomaly 6% of men, 0.4% of women
  • #525685 Tritanomaly 0.01% of the population