#400798 Color Information

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

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

#400798 color description : Dark violet.

#400798 Color Conversion

The hexadecimal color #400798 has RGB values of R:64, G:7, B:152 and CMYK values of C:0.58, M:0.95, Y:0, K:0.4. Its decimal value is 4196248.

Hex triplet 400798 #400798
RGB Decimal 64, 7, 152 rgb(64,7,152)
RGB Percent 25.1, 2.7, 59.6 rgb(25.1%,2.7%,59.6%)
CMYK 58, 95, 0, 40
HSL 263.6°, 91.2, 31.2 hsl(263.6,91.2%,31.2%)
HSV (or HSB) 263.6°, 95.4, 59.6
Web Safe 330099 #330099
CIE-LAB 21.976, 54.118, -64.619
XYZ 7.857, 3.509, 29.967
xyY 0.19, 0.085, 3.509
CIE-LCH 21.976, 84.287, 309.946
CIE-LUV 21.976, 3.18, -73.809
Hunter-Lab 18.732, 42.089, -81.741
Binary 01000000, 00000111, 10011000

Color Schemes with #400798

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

Alternatives to #400798

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

Similar Colors

#400798 Preview

Text with hexadecimal color #400798

This text has a font color of #400798.

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

This paragraph has a background color of #400798.

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

This element has a border color of #400798.

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

Shades and Tints of #400798

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 #f5eefe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #400798

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400798 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
  • #292929 Achromatopsia 0.005% of the population
  • #2e223f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d77 Protanopia 1% of men
  • #004067 Deuteranopia 1% of men
  • #1b4449 Tritanopia 0.001% of the population
Trichromacy
  • #172983 Protanomaly 1% of men, 0.01% of women
  • #172b79 Deuteranomaly 6% of men, 0.4% of women
  • #292e65 Tritanomaly 0.01% of the population