#2a1f5f Color Information

In a RGB color space, hex #2a1f5f is composed of 16.5% red, 12.2% green and 37.3% blue. Whereas in a CMYK color space, it is composed of 55.8% cyan, 67.4% magenta, 0% yellow and 62.7% black. It has a hue angle of 250.3 degrees, a saturation of 50.8% and a lightness of 24.7%. #2a1f5f color hex could be obtained by blending #543ebe with #000000. Closest websafe color is: #333366.

    • R 16
    • G 12
    • B 37
    RGB color chart
    • C 56
    • M 67
    • Y 0
    • K 63
    CMYK color chart

#2a1f5f color description : Very dark blue.

#2a1f5f Color Conversion

The hexadecimal color #2a1f5f has RGB values of R:42, G:31, B:95 and CMYK values of C:0.56, M:0.67, Y:0, K:0.63. Its decimal value is 2760543.

Hex triplet 2a1f5f #2a1f5f
RGB Decimal 42, 31, 95 rgb(42,31,95)
RGB Percent 16.5, 12.2, 37.3 rgb(16.5%,12.2%,37.3%)
CMYK 56, 67, 0, 63
HSL 250.3°, 50.8, 24.7 hsl(250.3,50.8%,24.7%)
HSV (or HSB) 250.3°, 67.4, 37.3
Web Safe 333366 #333366
CIE-LAB 16.981, 24.345, -36.522
XYZ 3.51, 2.298, 11.085
xyY 0.208, 0.136, 2.298
CIE-LCH 16.981, 43.893, 303.687
CIE-LUV 16.981, -0.167, -39.288
Hunter-Lab 15.16, 14.797, -32.738
Binary 00101010, 00011111, 01011111

Color Schemes with #2a1f5f

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

Alternatives to #2a1f5f

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

Similar Colors

#2a1f5f Preview

Text with hexadecimal color #2a1f5f

This text has a font color of #2a1f5f.

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

This paragraph has a background color of #2a1f5f.

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

This element has a border color of #2a1f5f.

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

Shades and Tints of #2a1f5f

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

Shade Color Variation
Tint Color Variation

Tones of #2a1f5f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a1f5f 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #2a2835 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003364 Protanopia 1% of men
  • #003658 Deuteranopia 1% of men
  • #23383c Tritanopia 0.001% of the population
Trichromacy
  • #0f2b62 Protanomaly 1% of men, 0.01% of women
  • #0f2d5a Deuteranomaly 6% of men, 0.4% of women
  • #252e48 Tritanomaly 0.01% of the population