#31157c Color Information

In a RGB color space, hex #31157c is composed of 19.2% red, 8.2% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 60.5% cyan, 83.1% magenta, 0% yellow and 51.4% black. It has a hue angle of 256.3 degrees, a saturation of 71% and a lightness of 28.4%. #31157c color hex could be obtained by blending #622af8 with #000000. Closest websafe color is: #330066.

    • R 19
    • G 8
    • B 49
    RGB color chart
    • C 60
    • M 83
    • Y 0
    • K 51
    CMYK color chart

#31157c color description : Dark violet.

#31157c Color Conversion

The hexadecimal color #31157c has RGB values of R:49, G:21, B:124 and CMYK values of C:0.6, M:0.83, Y:0, K:0.51. Its decimal value is 3216764.

Hex triplet 31157c #31157c
RGB Decimal 49, 21, 124 rgb(49,21,124)
RGB Percent 19.2, 8.2, 48.6 rgb(19.2%,8.2%,48.6%)
CMYK 60, 83, 0, 51
HSL 256.3°, 71, 28.4 hsl(256.3,71%,28.4%)
HSV (or HSB) 256.3°, 83.1, 48.6
Web Safe 330066 #330066
CIE-LAB 18.559, 40.511, -52.773
XYZ 5.172, 2.644, 19.306
xyY 0.191, 0.097, 2.644
CIE-LCH 18.559, 66.529, 307.512
CIE-LUV 18.559, 0.845, -57.114
Hunter-Lab 16.262, 28.317, -59.005
Binary 00110001, 00010101, 01111100

Color Schemes with #31157c

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

Alternatives to #31157c

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

Similar Colors

#31157c Preview

Text with hexadecimal color #31157c

This text has a font color of #31157c.

<span style="color:#31157c;">Text here</span>
#31157c background color

This paragraph has a background color of #31157c.

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

This element has a border color of #31157c.

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

Shades and Tints of #31157c

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

Shade Color Variation
Tint Color Variation

Tones of #31157c

A tone is produced by adding gray to any pure hue. In this case, #48474a is the less saturated color, while #29048d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #31157c 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.

  • #292929 Achromatopsia 0.005% of the population
  • #2b253a Atypical Achromatopsia 0.001% of the population
  • #003669 Protanopia 1% of men
  • #00395c Deuteranopia 1% of men
  • #133d41 Tritanopia 0.001% of the population
  • #112a70 Protanomaly 1% of men, 0.01% of women
  • #112c67 Deuteranomaly 6% of men, 0.4% of women
  • #1e2e56 Tritanomaly 0.01% of the population