#5f31ab Color Information

In a RGB color space, hex #5f31ab is composed of 37.3% red, 19.2% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 44.4% cyan, 71.3% magenta, 0% yellow and 32.9% black. It has a hue angle of 262.6 degrees, a saturation of 55.5% and a lightness of 43.1%. #5f31ab color hex could be obtained by blending #be62ff with #000057. Closest websafe color is: #663399.

    • R 37
    • G 19
    • B 67
    RGB color chart
    • C 44
    • M 71
    • Y 0
    • K 33
    CMYK color chart

#5f31ab color description : Dark violet.

#5f31ab Color Conversion

The hexadecimal color #5f31ab has RGB values of R:95, G:49, B:171 and CMYK values of C:0.44, M:0.71, Y:0, K:0.33. Its decimal value is 6238635.

Hex triplet 5f31ab #5f31ab
RGB Decimal 95, 49, 171 rgb(95,49,171)
RGB Percent 37.3, 19.2, 67.1 rgb(37.3%,19.2%,67.1%)
CMYK 44, 71, 0, 33
HSL 262.6°, 55.5, 43.1 hsl(262.6,55.5%,43.1%)
HSV (or HSB) 262.6°, 71.3, 67.1
Web Safe 663399 #663399
CIE-LAB 33.07, 47.205, -57.787
XYZ 13.167, 7.57, 39.293
xyY 0.219, 0.126, 7.57
CIE-LCH 33.07, 74.617, 309.244
CIE-LUV 33.07, 7.519, -81.598
Hunter-Lab 27.513, 37.277, -65.417
Binary 01011111, 00110001, 10101011

Color Schemes with #5f31ab

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

Alternatives to #5f31ab

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

Similar Colors

#5f31ab Preview

Text with hexadecimal color #5f31ab

This text has a font color of #5f31ab.

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

This paragraph has a background color of #5f31ab.

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

This element has a border color of #5f31ab.

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

Shades and Tints of #5f31ab

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 #f6f3fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f31ab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f31ab 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
  • #4d4d4d Achromatopsia 0.005% of the population
  • #514760 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0054a4 Protanopia 1% of men
  • #005890 Deuteranopia 1% of men
  • #4e585e Tritanopia 0.001% of the population
Trichromacy
  • #2247a6 Protanomaly 1% of men, 0.01% of women
  • #224a9a Deuteranomaly 6% of men, 0.4% of women
  • #544a7a Tritanomaly 0.01% of the population