#310798 Color Information

In a RGB color space, hex #310798 is composed of 19.2% red, 2.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 67.8% cyan, 95.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 257.4 degrees, a saturation of 91.2% and a lightness of 31.2%. #310798 color hex could be obtained by blending #620eff with #000031. Closest websafe color is: #330099.

    • R 19
    • G 3
    • B 60
    RGB color chart
    • C 68
    • M 95
    • Y 0
    • K 40
    CMYK color chart

#310798 color description : Dark violet.

#310798 Color Conversion

The hexadecimal color #310798 has RGB values of R:49, G:7, B:152 and CMYK values of C:0.68, M:0.95, Y:0, K:0.4. Its decimal value is 3213208.

Hex triplet 310798 #310798
RGB Decimal 49, 7, 152 rgb(49,7,152)
RGB Percent 19.2, 2.7, 59.6 rgb(19.2%,2.7%,59.6%)
CMYK 68, 95, 0, 40
HSL 257.4°, 91.2, 31.2 hsl(257.4,91.2%,31.2%)
HSV (or HSB) 257.4°, 95.4, 59.6
Web Safe 330099 #330099
CIE-LAB 20.329, 53.085, -67.402
XYZ 7.009, 3.072, 29.928
xyY 0.175, 0.077, 3.072
CIE-LCH 20.329, 85.796, 308.224
CIE-LUV 20.329, -0.423, -72.631
Hunter-Lab 17.526, 40.715, -88.975
Binary 00110001, 00000111, 10011000

Color Schemes with #310798

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

Alternatives to #310798

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

Similar Colors

#310798 Preview

Text with hexadecimal color #310798

This text has a font color of #310798.

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

This paragraph has a background color of #310798.

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

This element has a border color of #310798.

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

Shades and Tints of #310798

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

Shade Color Variation
Tint Color Variation

Tones of #310798

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #310798 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
  • #242424 Achromatopsia 0.005% of the population
  • #271e3b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a70 Protanopia 1% of men
  • #003d61 Deuteranopia 1% of men
  • #004145 Tritanopia 0.001% of the population
Trichromacy
  • #11277e Protanomaly 1% of men, 0.01% of women
  • #112975 Deuteranomaly 6% of men, 0.4% of women
  • #112c63 Tritanomaly 0.01% of the population