#31158d Color Information

In a RGB color space, hex #31158d is composed of 19.2% red, 8.2% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 65.2% cyan, 85.1% magenta, 0% yellow and 44.7% black. It has a hue angle of 254 degrees, a saturation of 74.1% and a lightness of 31.8%. #31158d color hex could be obtained by blending #622aff with #00001b. Closest websafe color is: #330099.

    • R 19
    • G 8
    • B 55
    RGB color chart
    • C 65
    • M 85
    • Y 0
    • K 45
    CMYK color chart

#31158d color description : Dark blue.

#31158d Color Conversion

The hexadecimal color #31158d has RGB values of R:49, G:21, B:141 and CMYK values of C:0.65, M:0.85, Y:0, K:0.45. Its decimal value is 3216781.

Hex triplet 31158d #31158d
RGB Decimal 49, 21, 141 rgb(49,21,141)
RGB Percent 19.2, 8.2, 55.3 rgb(19.2%,8.2%,55.3%)
CMYK 65, 85, 0, 45
HSL 254°, 74.1, 31.8 hsl(254,74.1%,31.8%)
HSV (or HSB) 254°, 85.1, 55.3
Web Safe 330099 #330099
CIE-LAB 20.488, 45.521, -60.312
XYZ 6.342, 3.112, 25.464
xyY 0.182, 0.089, 3.112
CIE-LCH 20.488, 75.563, 307.044
CIE-LUV 20.488, -0.489, -67.093
Hunter-Lab 17.641, 33.294, -73.234
Binary 00110001, 00010101, 10001101

Color Schemes with #31158d

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

Alternatives to #31158d

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

Similar Colors

#31158d Preview

Text with hexadecimal color #31158d

This text has a font color of #31158d.

<span style="color:#31158d;">Text here</span>
#31158d background color

This paragraph has a background color of #31158d.

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

This element has a border color of #31158d.

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

Shades and Tints of #31158d

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

Shade Color Variation
Tint Color Variation

Tones of #31158d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #31158d 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
  • #2b2b2b Achromatopsia 0.005% of the population
  • #2c273f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a71 Protanopia 1% of men
  • #003d62 Deuteranopia 1% of men
  • #004146 Tritanopia 0.001% of the population
Trichromacy
  • #112c7b Protanomaly 1% of men, 0.01% of women
  • #112e71 Deuteranomaly 6% of men, 0.4% of women
  • #11315f Tritanomaly 0.01% of the population