#402161 Color Information

In a RGB color space, hex #402161 is composed of 25.1% red, 12.9% green and 38% blue. Whereas in a CMYK color space, it is composed of 34% cyan, 66% magenta, 0% yellow and 62% black. It has a hue angle of 269.1 degrees, a saturation of 49.2% and a lightness of 25.5%. #402161 color hex could be obtained by blending #8042c2 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 38
    RGB color chart
    • C 34
    • M 66
    • Y 0
    • K 62
    CMYK color chart

#402161 color description : Very dark violet.

#402161 Color Conversion

The hexadecimal color #402161 has RGB values of R:64, G:33, B:97 and CMYK values of C:0.34, M:0.66, Y:0, K:0.62. Its decimal value is 4202849.

Hex triplet 402161 #402161
RGB Decimal 64, 33, 97 rgb(64,33,97)
RGB Percent 25.1, 12.9, 38 rgb(25.1%,12.9%,38%)
CMYK 34, 66, 0, 62
HSL 269.1°, 49.2, 25.5 hsl(269.1,49.2%,25.5%)
HSV (or HSB) 269.1°, 66, 38
Web Safe 333366 #333366
CIE-LAB 20.207, 28.951, -32.5
XYZ 4.816, 3.041, 11.642
xyY 0.247, 0.156, 3.041
CIE-LCH 20.207, 43.525, 311.694
CIE-LUV 20.207, 7.312, -38.799
Hunter-Lab 17.438, 18.777, -27.376
Binary 01000000, 00100001, 01100001

Color Schemes with #402161

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

Alternatives to #402161

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

Similar Colors

#402161 Preview

Text with hexadecimal color #402161

This text has a font color of #402161.

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

This paragraph has a background color of #402161.

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

This element has a border color of #402161.

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

Shades and Tints of #402161

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

Shade Color Variation
Tint Color Variation

Tones of #402161

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402161 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
  • #323232 Achromatopsia 0.005% of the population
  • #352f3b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003971 Protanopia 1% of men
  • #113c63 Deuteranopia 1% of men
  • #3f393d Tritanopia 0.001% of the population
Trichromacy
  • #17306b Protanomaly 1% of men, 0.01% of women
  • #223262 Deuteranomaly 6% of men, 0.4% of women
  • #3f304a Tritanomaly 0.01% of the population