Color: #402ECC

#402ECC Color Information

#402ECC is a dark color. The closest websafe version is #402ECC. A complement of this color would be #B9CC2E, perceived brightness is 0.27, and the grayscale version is #7D7D7D.

In the HSL color space, this color has a hue angle of 247°,a saturation of 63%, and a lightness of 49%.The HSV representation shows a hue of 247°, a saturation of 77%, and a value of 80%.

In a RGB color space, #402ECC is composed of 25% red, 18% green and 80% blue. Whereas in a CMYK color space, it is composed of 69% cyan, 77% magenta, 0% yellow and 20% black.

In the Yxy color space, this color is represented as Y: 6.76, x: 0.1920, and y: 0.1088.

Color Code #402ECC

#402ECCrgb(64, 46, 204)
HEX
#402ECC
RGB
rgb(64, 46, 204)
HSL
hsl(247, 63%, 49%)
HSV
hsv(247, 77%, 80%)
CMYK
69%, 77%, 0%, 20%
XYZ
X: 11.93, Y: 6.76, Z: 43.46
Lab
L: 31.25, a: 45.45, b: -80.04
Name

Shades of Color #402ECC

Shades are created by darkening the original color #402ECC in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #402ECC

Tints are created by lightening the original color #402ECC in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#402ECCrgb(64, 46, 204)

About #402ECC Color Code

In the HSL color space, this color has a hue angle of 247°, a saturation of 63%, and a lightness of 49%. The HSV representation shows a hue of 247°, a saturation of 77%, and a value of 80%.

  • HEX: #402ECC
  • RGB: rgb(64, 46, 204)
  • HSL: hsl(247, 63%, 49%)
  • HSV: hsv(247, 77%, 80%)
  • CMYK: 69.00% cyan, 77.00% magenta, 0.00% yellow, 20.00% black
  • XYZ: 11.93, 6.76, 43.46
  • Yxy: 6.76, 0.1920, 0.1088
  • Hunter Lab: 31.25, 45.45, -80.04
  • CIE-Lab: 31.25, 45.45, -80.04

In the XYZ color space, this color is represented as X: 11.93, Y: 6.76, Z: 43.46. The Yxy representation further refines this as Y: 6.76, x: 0.1920, and y: 0.1088.

In the Hunter Lab color space, this color is represented as L: 31.25, a: 45.45, and b: -80.04. Similarly, in the CIE-Lab color space, it is represented as L: 31.25, a: 45.45, and b: -80.04.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #402ECC

Triadic colors are three colors evenly spaced around the color wheel, including #402ECC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #402ECC

Analogous colors are adjacent to #402ECC on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Split Complementary Colors of #402ECC

Split complementary colors are two colors adjacent to the complementary color of #402ECC. They create a balanced and visually appealing color scheme.

Tetradic Colors of #402ECC

Tetradic colors form a rectangle on the color wheel, including #402ECC. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #402ECC

Monochromatic colors are variations of #402ECC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #402ECC

The complementary color of #402ECC is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #402ECC

/* Using HEX */
body {
  background-color: #402ecc;
}
/* Using RGB */
body {
  background-color: rgb(64, 46, 204);
}
/* Using RGB with opacity */
body {
  background-color: rgba(64, 46, 204, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(247, 63%, 49%);
}
/* Text color */
p {
  color: #402ecc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #402ecc;
}
/* Border color */
.box {
  border: 4px solid #402ecc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #402ecc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #402ecc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#402ECC
On Black Background
#402ECC
On White Background
#402ECC

HTML Examples of #402ECC

<!-- Using HEX -->
<div style="background-color: #402ecc; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(64, 46, 204); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(64, 46, 204, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(247, 63%, 49%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #402ecc;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #402ecc; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #402ecc; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #402ecc;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #402ecc; color: #fff; padding: 16px; border-radius: 8px;">
  #402ECC
</div>
#402ECC
On Black Background
#402ECC
On White Background
#402ECC

Related Colors of #402ECC

These colors are similar to #402ECC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.