#402298 Color Information

In a RGB color space, hex #402298 is composed of 25.1% red, 13.3% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 77.6% magenta, 0% yellow and 40.4% black. It has a hue angle of 255.3 degrees, a saturation of 63.4% and a lightness of 36.5%. #402298 color hex could be obtained by blending #8044ff with #000031. Closest websafe color is: #333399.

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

#402298 color description : Dark violet.

#402298 Color Conversion

The hexadecimal color #402298 has RGB values of R:64, G:34, B:152 and CMYK values of C:0.58, M:0.78, Y:0, K:0.4. Its decimal value is 4203160.

Hex triplet 402298 #402298
RGB Decimal 64, 34, 152 rgb(64,34,152)
RGB Percent 25.1, 13.3, 59.6 rgb(25.1%,13.3%,59.6%)
CMYK 58, 78, 0, 40
HSL 255.3°, 63.4, 36.5 hsl(255.3,63.4%,36.5%)
HSV (or HSB) 255.3°, 77.6, 59.6
Web Safe 333399 #333399
CIE-LAB 25.262, 44.442, -59.191
XYZ 8.353, 4.501, 30.133
xyY 0.194, 0.105, 4.501
CIE-LCH 25.262, 74.019, 306.9
CIE-LUV 25.262, 1.023, -73.795
Hunter-Lab 21.215, 33.153, -69.361
Binary 01000000, 00100010, 10011000

Color Schemes with #402298

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

Alternatives to #402298

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

Similar Colors

#402298 Preview

Text with hexadecimal color #402298

This text has a font color of #402298.

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

This paragraph has a background color of #402298.

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

This element has a border color of #402298.

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

Shades and Tints of #402298

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

Shade Color Variation
Tint Color Variation

Tones of #402298

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402298 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
  • #383838 Achromatopsia 0.005% of the population
  • #3a344b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004484 Protanopia 1% of men
  • #004773 Deuteranopia 1% of men
  • #204b51 Tritanopia 0.001% of the population
Trichromacy
  • #17378b Protanomaly 1% of men, 0.01% of women
  • #173a80 Deuteranomaly 6% of men, 0.4% of women
  • #2c3c6a Tritanomaly 0.01% of the population