#2a1257 Color Information

In a RGB color space, hex #2a1257 is composed of 16.5% red, 7.1% green and 34.1% blue. Whereas in a CMYK color space, it is composed of 51.7% cyan, 79.3% magenta, 0% yellow and 65.9% black. It has a hue angle of 260.9 degrees, a saturation of 65.7% and a lightness of 20.6%. #2a1257 color hex could be obtained by blending #5424ae with #000000. Closest websafe color is: #330066.

    • R 16
    • G 7
    • B 34
    RGB color chart
    • C 52
    • M 79
    • Y 0
    • K 66
    CMYK color chart

#2a1257 color description : Very dark violet.

#2a1257 Color Conversion

The hexadecimal color #2a1257 has RGB values of R:42, G:18, B:87 and CMYK values of C:0.52, M:0.79, Y:0, K:0.66. Its decimal value is 2757207.

Hex triplet 2a1257 #2a1257
RGB Decimal 42, 18, 87 rgb(42,18,87)
RGB Percent 16.5, 7.1, 34.1 rgb(16.5%,7.1%,34.1%)
CMYK 52, 79, 0, 66
HSL 260.9°, 65.7, 20.6 hsl(260.9,65.7%,20.6%)
HSV (or HSB) 260.9°, 79.3, 34.1
Web Safe 330066 #330066
CIE-LAB 13.309, 29.749, -37.151
XYZ 2.891, 1.613, 9.175
xyY 0.211, 0.118, 1.613
CIE-LCH 13.309, 47.594, 308.687
CIE-LUV 13.309, 2.409, -35.039
Hunter-Lab 12.7, 18.41, -33.944
Binary 00101010, 00010010, 01010111

Color Schemes with #2a1257

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

Alternatives to #2a1257

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

Similar Colors

#2a1257 Preview

Text with hexadecimal color #2a1257

This text has a font color of #2a1257.

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

This paragraph has a background color of #2a1257.

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

This element has a border color of #2a1257.

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

Shades and Tints of #2a1257

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 #2a1257

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a1257 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
  • #252f32 Tritanopia 0.001% of the population
Trichromacy
  • #0f2256 Protanomaly 1% of men, 0.01% of women
  • #0f244f Deuteranomaly 6% of men, 0.4% of women
  • #27243f Tritanomaly 0.01% of the population