#331fa7 Color Information

In a RGB color space, hex #331fa7 is composed of 20% red, 12.2% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 69.5% cyan, 81.4% magenta, 0% yellow and 34.5% black. It has a hue angle of 248.8 degrees, a saturation of 68.7% and a lightness of 38.8%. #331fa7 color hex could be obtained by blending #663eff with #00004f. Closest websafe color is: #333399.

    • R 20
    • G 12
    • B 65
    RGB color chart
    • C 69
    • M 81
    • Y 0
    • K 35
    CMYK color chart

#331fa7 color description : Dark blue.

#331fa7 Color Conversion

The hexadecimal color #331fa7 has RGB values of R:51, G:31, B:167 and CMYK values of C:0.69, M:0.81, Y:0, K:0.35. Its decimal value is 3350439.

Hex triplet 331fa7 #331fa7
RGB Decimal 51, 31, 167 rgb(51,31,167)
RGB Percent 20, 12.2, 65.5 rgb(20%,12.2%,65.5%)
CMYK 69, 81, 0, 35
HSL 248.8°, 68.7, 38.8 hsl(248.8,68.7%,38.8%)
HSV (or HSB) 248.8°, 81.4, 65.5
Web Safe 333399 #333399
CIE-LAB 25.178, 48.95, -68.512
XYZ 8.829, 4.473, 36.955
xyY 0.176, 0.089, 4.473
CIE-LCH 25.178, 84.202, 305.545
CIE-LUV 25.178, -2.873, -82.748
Hunter-Lab 21.15, 37.499, -88.79
Binary 00110011, 00011111, 10100111

Color Schemes with #331fa7

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

Alternatives to #331fa7

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

Similar Colors

#331fa7 Preview

Text with hexadecimal color #331fa7

This text has a font color of #331fa7.

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

This paragraph has a background color of #331fa7.

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

This element has a border color of #331fa7.

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

Shades and Tints of #331fa7

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

Shade Color Variation
Tint Color Variation

Tones of #331fa7

A tone is produced by adding gray to any pure hue. In this case, #5e5c6a is the less saturated color, while #1d01c5 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331fa7 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
  • #343434 Achromatopsia 0.005% of the population
  • #34304b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004383 Protanopia 1% of men
  • #004772 Deuteranopia 1% of men
  • #004c51 Tritanopia 0.001% of the population
Trichromacy
  • #123690 Protanomaly 1% of men, 0.01% of women
  • #123985 Deuteranomaly 6% of men, 0.4% of women
  • #123c70 Tritanomaly 0.01% of the population