#5f508b Color Information

In a RGB color space, hex #5f508b is composed of 37.3% red, 31.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 42.4% magenta, 0% yellow and 45.5% black. It has a hue angle of 255.3 degrees, a saturation of 26.9% and a lightness of 42.9%. #5f508b color hex could be obtained by blending #bea0ff with #000017. Closest websafe color is: #666699.

    • R 37
    • G 31
    • B 55
    RGB color chart
    • C 32
    • M 42
    • Y 0
    • K 45
    CMYK color chart

#5f508b color description : Mostly desaturated dark violet.

#5f508b Color Conversion

The hexadecimal color #5f508b has RGB values of R:95, G:80, B:139 and CMYK values of C:0.32, M:0.42, Y:0, K:0.45. Its decimal value is 6246539.

Hex triplet 5f508b #5f508b
RGB Decimal 95, 80, 139 rgb(95,80,139)
RGB Percent 37.3, 31.4, 54.5 rgb(37.3%,31.4%,54.5%)
CMYK 32, 42, 0, 45
HSL 255.3°, 26.9, 42.9 hsl(255.3,26.9%,42.9%)
HSV (or HSB) 255.3°, 42.4, 54.5
Web Safe 666699 #666699
CIE-LAB 37.904, 20.201, -30.689
XYZ 12.247, 10.034, 25.716
xyY 0.255, 0.209, 10.034
CIE-LCH 37.904, 36.741, 303.354
CIE-LUV 37.904, 3.134, -45.289
Hunter-Lab 31.677, 13.58, -25.96
Binary 01011111, 01010000, 10001011

Color Schemes with #5f508b

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

Alternatives to #5f508b

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

Similar Colors

#5f508b Preview

Text with hexadecimal color #5f508b

This text has a font color of #5f508b.

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

This paragraph has a background color of #5f508b.

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

This element has a border color of #5f508b.

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

Shades and Tints of #5f508b

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

Shade Color Variation
Tint Color Variation

Tones of #5f508b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f508b 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
  • #5b5b5b Achromatopsia 0.005% of the population
  • #5c5965 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #4b6096 Protanopia 1% of men
  • #4b618d Deuteranopia 1% of men
  • #5d6269 Tritanopia 0.001% of the population
Trichromacy
  • #525a92 Protanomaly 1% of men, 0.01% of women
  • #525b8c Deuteranomaly 6% of men, 0.4% of women
  • #5e5b75 Tritanomaly 0.01% of the population