#5f31d8 Color Information

In a RGB color space, hex #5f31d8 is composed of 37.3% red, 19.2% green and 84.7% blue. Whereas in a CMYK color space, it is composed of 56% cyan, 77.3% magenta, 0% yellow and 15.3% black. It has a hue angle of 256.5 degrees, a saturation of 68.2% and a lightness of 52%. #5f31d8 color hex could be obtained by blending #be62ff with #0000b1. Closest websafe color is: #6633cc.

    • R 37
    • G 19
    • B 85
    RGB color chart
    • C 56
    • M 77
    • Y 0
    • K 15
    CMYK color chart

#5f31d8 color description : Strong violet.

#5f31d8 Color Conversion

The hexadecimal color #5f31d8 has RGB values of R:95, G:49, B:216 and CMYK values of C:0.56, M:0.77, Y:0, K:0.15. Its decimal value is 6238680.

Hex triplet 5f31d8 #5f31d8
RGB Decimal 95, 49, 216 rgb(95,49,216)
RGB Percent 37.3, 19.2, 84.7 rgb(37.3%,19.2%,84.7%)
CMYK 56, 77, 0, 15
HSL 256.5°, 68.2, 52 hsl(256.5,68.2%,52%)
HSV (or HSB) 256.5°, 77.3, 84.7
Web Safe 6633cc #6633cc
CIE-LAB 37.091, 59.406, -77.6
XYZ 18.21, 9.587, 65.853
xyY 0.194, 0.102, 9.587
CIE-LCH 37.091, 97.728, 307.435
CIE-LUV 37.091, 2.283, -110.119
Hunter-Lab 30.963, 50.796, -104.427
Binary 01011111, 00110001, 11011000

Color Schemes with #5f31d8

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

Alternatives to #5f31d8

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

Similar Colors

#5f31d8 Preview

Text with hexadecimal color #5f31d8

This text has a font color of #5f31d8.

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

This paragraph has a background color of #5f31d8.

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

This element has a border color of #5f31d8.

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

Shades and Tints of #5f31d8

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

Shade Color Variation
Tint Color Variation

Tones of #5f31d8

A tone is produced by adding gray to any pure hue. In this case, #817c8d is the less saturated color, while #4e0bfe is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f31d8 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
  • #525252 Achromatopsia 0.005% of the population
  • #554b6d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db5 Protanopia 1% of men
  • #00629d Deuteranopia 1% of men
  • #2f676f Tritanopia 0.001% of the population
Trichromacy
  • #224dc1 Protanomaly 1% of men, 0.01% of women
  • #2250b3 Deuteranomaly 6% of men, 0.4% of women
  • #405395 Tritanomaly 0.01% of the population