#2a1158 Color Information

In a RGB color space, hex #2a1158 is composed of 16.5% red, 6.7% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 52.3% cyan, 80.7% magenta, 0% yellow and 65.5% black. It has a hue angle of 261.1 degrees, a saturation of 67.6% and a lightness of 20.6%. #2a1158 color hex could be obtained by blending #5422b0 with #000000. Closest websafe color is: #330066.

    • R 16
    • G 7
    • B 35
    RGB color chart
    • C 52
    • M 81
    • Y 0
    • K 65
    CMYK color chart

#2a1158 color description : Very dark violet.

#2a1158 Color Conversion

The hexadecimal color #2a1158 has RGB values of R:42, G:17, B:88 and CMYK values of C:0.52, M:0.81, Y:0, K:0.65. Its decimal value is 2756952.

Hex triplet 2a1158 #2a1158
RGB Decimal 42, 17, 88 rgb(42,17,88)
RGB Percent 16.5, 6.7, 34.5 rgb(16.5%,6.7%,34.5%)
CMYK 52, 81, 0, 65
HSL 261.1°, 67.6, 20.6 hsl(261.1,67.6%,20.6%)
HSV (or HSB) 261.1°, 80.7, 34.5
Web Safe 330066 #330066
CIE-LAB 13.216, 30.602, -37.979
XYZ 2.916, 1.598, 9.387
xyY 0.21, 0.115, 1.598
CIE-LCH 13.216, 48.774, 308.861
CIE-LUV 13.216, 2.423, -35.581
Hunter-Lab 12.64, 19.066, -35.182
Binary 00101010, 00010001, 01011000

Color Schemes with #2a1158

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

Alternatives to #2a1158

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

Similar Colors

#2a1158 Preview

Text with hexadecimal color #2a1158

This text has a font color of #2a1158.

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

This paragraph has a background color of #2a1158.

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

This element has a border color of #2a1158.

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

Shades and Tints of #2a1158

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

Shade Color Variation
Tint Color Variation

Tones of #2a1158

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a1158 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
  • #212121 Achromatopsia 0.005% of the population
  • #231e2c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002c56 Protanopia 1% of men
  • #002e4b Deuteranopia 1% of men
  • #242f32 Tritanopia 0.001% of the population
Trichromacy
  • #0f2256 Protanomaly 1% of men, 0.01% of women
  • #0f234f Deuteranomaly 6% of men, 0.4% of women
  • #262440 Tritanomaly 0.01% of the population