#402098 Color Information

In a RGB color space, hex #402098 is composed of 25.1% red, 12.5% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 78.9% magenta, 0% yellow and 40.4% black. It has a hue angle of 256 degrees, a saturation of 65.2% and a lightness of 36.1%. #402098 color hex could be obtained by blending #8040ff with #000031. Closest websafe color is: #333399.

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

#402098 color description : Dark violet.

#402098 Color Conversion

The hexadecimal color #402098 has RGB values of R:64, G:32, B:152 and CMYK values of C:0.58, M:0.79, Y:0, K:0.4. Its decimal value is 4202648.

Hex triplet 402098 #402098
RGB Decimal 64, 32, 152 rgb(64,32,152)
RGB Percent 25.1, 12.5, 59.6 rgb(25.1%,12.5%,59.6%)
CMYK 58, 79, 0, 40
HSL 256°, 65.2, 36.1 hsl(256,65.2%,36.1%)
HSV (or HSB) 256°, 78.9, 59.6
Web Safe 333399 #333399
CIE-LAB 24.92, 45.424, -59.754
XYZ 8.297, 4.39, 30.114
xyY 0.194, 0.103, 4.39
CIE-LCH 24.92, 75.059, 307.241
CIE-LUV 24.92, 1.275, -73.911
Hunter-Lab 20.952, 34.024, -70.552
Binary 01000000, 00100000, 10011000

Color Schemes with #402098

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

Alternatives to #402098

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

Similar Colors

#402098 Preview

Text with hexadecimal color #402098

This text has a font color of #402098.

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

This paragraph has a background color of #402098.

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

This element has a border color of #402098.

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

Shades and Tints of #402098

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

Shade Color Variation
Tint Color Variation

Tones of #402098

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402098 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
  • #373737 Achromatopsia 0.005% of the population
  • #39324a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004382 Protanopia 1% of men
  • #004772 Deuteranopia 1% of men
  • #204a50 Tritanopia 0.001% of the population
Trichromacy
  • #17368a Protanomaly 1% of men, 0.01% of women
  • #17387f Deuteranomaly 6% of men, 0.4% of women
  • #2b3b6a Tritanomaly 0.01% of the population