#402178 Color Information

In a RGB color space, hex #402178 is composed of 25.1% red, 12.9% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 46.7% cyan, 72.5% magenta, 0% yellow and 52.9% black. It has a hue angle of 261.4 degrees, a saturation of 56.9% and a lightness of 30%. #402178 color hex could be obtained by blending #8042f0 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 47
    RGB color chart
    • C 47
    • M 73
    • Y 0
    • K 53
    CMYK color chart

#402178 color description : Dark violet.

#402178 Color Conversion

The hexadecimal color #402178 has RGB values of R:64, G:33, B:120 and CMYK values of C:0.47, M:0.73, Y:0, K:0.53. Its decimal value is 4202872.

Hex triplet 402178 #402178
RGB Decimal 64, 33, 120 rgb(64,33,120)
RGB Percent 25.1, 12.9, 47.1 rgb(25.1%,12.9%,47.1%)
CMYK 47, 73, 0, 53
HSL 261.4°, 56.9, 30 hsl(261.4,56.9%,30%)
HSV (or HSB) 261.4°, 72.5, 47.1
Web Safe 333366 #333366
CIE-LAB 22.066, 35.536, -44.402
XYZ 6.048, 3.534, 18.132
xyY 0.218, 0.128, 3.534
CIE-LCH 22.066, 56.872, 308.671
CIE-LUV 22.066, 4.416, -53.93
Hunter-Lab 18.798, 24.531, -44.029
Binary 01000000, 00100001, 01111000

Color Schemes with #402178

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

Alternatives to #402178

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

Similar Colors

#402178 Preview

Text with hexadecimal color #402178

This text has a font color of #402178.

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

This paragraph has a background color of #402178.

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

This element has a border color of #402178.

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

Shades and Tints of #402178

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, #07030c is the darkest color, while #fdfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402178

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402178 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
  • #363042 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d77 Protanopia 1% of men
  • #004069 Deuteranopia 1% of men
  • #374045 Tritanopia 0.001% of the population
Trichromacy
  • #173377 Protanomaly 1% of men, 0.01% of women
  • #17356e Deuteranomaly 6% of men, 0.4% of women
  • #3a3557 Tritanomaly 0.01% of the population