Color: #311148

#311148 Color Information

#311148 is a dark color. The closest websafe version is #311148. A complement of this color would be #274610, perceived brightness is 0.13, and the grayscale version is #2D2D2D.

In the HSL color space, this color has a hue angle of 275°,a saturation of 62%, and a lightness of 17%.The HSV representation shows a hue of 275°, a saturation of 76%, and a value of 28%.

In a RGB color space, #311148 is composed of 19% red, 7% green and 28% blue. Whereas in a CMYK color space, it is composed of 32% cyan, 76% magenta, 0% yellow and 72% black.

In the Yxy color space, this color is represented as Y: 1.48, x: 0.2854, and y: 0.1703.

Color Code #311148

#311148rgb(49, 17, 72)
HEX
#311148
RGB
rgb(49, 17, 72)
HSL
hsl(275, 62%, 17%)
HSV
hsv(275, 76%, 28%)
CMYK
32%, 76%, 0%, 72%
XYZ
X: 2.48, Y: 1.48, Z: 4.73
Lab
L: 12.47, a: 24.93, b: -28.01
Name

Shades of Color #311148

Shades are created by darkening the original color #311148 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 #311148

Tints are created by lightening the original color #311148 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.

#311148rgb(49, 17, 72)

About #311148 Color Code

In the HSL color space, this color has a hue angle of 275°, a saturation of 62%, and a lightness of 17%. The HSV representation shows a hue of 275°, a saturation of 76%, and a value of 28%.

  • HEX: #311148
  • RGB: rgb(49, 17, 72)
  • HSL: hsl(275, 62%, 17%)
  • HSV: hsv(275, 76%, 28%)
  • CMYK: 32.00% cyan, 76.00% magenta, 0.00% yellow, 72.00% black
  • XYZ: 2.48, 1.48, 4.73
  • Yxy: 1.48, 0.2854, 0.1703
  • Hunter Lab: 12.47, 24.93, -28.01
  • CIE-Lab: 12.47, 24.93, -28.01

In the XYZ color space, this color is represented as X: 2.48, Y: 1.48, Z: 4.73. The Yxy representation further refines this as Y: 1.48, x: 0.2854, and y: 0.1703.

In the Hunter Lab color space, this color is represented as L: 12.47, a: 24.93, and b: -28.01. Similarly, in the CIE-Lab color space, it is represented as L: 12.47, a: 24.93, and b: -28.01.

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 #311148

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

Analogous Colors of #311148

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

Split Complementary Colors of #311148

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

Tetradic Colors of #311148

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

Monochromatic Colors of #311148

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

Complementary Color of #311148

The complementary color of #311148 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 #311148

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

HTML Examples of #311148

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

Related Colors of #311148

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