#2A105C color

#2A105C rgb(42, 16, 92)
Shades of purple

The hex color #2A105C is a dark, moderate violet.

In the RGB color model it is made of 16.5% red, 6.3% green and 36.1% blue (42, 16, 92).

Its hue angle is 261°, with 70% saturation and 21% lightness. For print, the CMYK equivalent is 54% cyan, 83% magenta, 0% yellow and 64% black.

The closest named color is Voldemort (#2D135F), a difference of 0.8 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 15.82:1).

#2A105C color codes

HEX#2A105C
RGBrgb(42, 16, 92)
RGB percentrgb(16.5%, 6.3%, 36.1%)
HSLhsl(261, 70%, 21%)
HSV / HSBhsv(261, 83%, 36%)
CMYKcmyk(54%, 83%, 0%, 64%)
CIE LABlab(13.44, 32.34, -40.29)
CIE LCHlch(13.44, 51.67, 308.75)
CIE XYZxyz(3.071, 1.635, 10.277)
Decimal2756700
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2A105C, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #2A105CRatioAAAAAAA large
Sample text1.33:1FailFailFail
Sample text15.82:1PassPassPass
#2A105C as text onRatioAAAAAAA large
Sample text15.82:1PassPassPass
Sample text1.33:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #2A105C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2a105c; }
.text { color: #2a105c; }
.border { border: 2px solid #2a105c; }
.transparent { background-color: rgb(42 16 92 / 50%); }
.gradient { background: linear-gradient(to right, #2a105c, #50105c); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #2A105C?
#2A105C is a dark, moderate violet, closest to the named color Voldemort. It belongs to the purple family of colors.
What is the RGB value of #2A105C?
The RGB value is 42, 16, 92: 42 red, 16 green and 92 blue on a 0 to 255 scale.
What is the complementary color of #2A105C?
The complementary color is #425C10, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2A105C?
White text. Black text has a contrast ratio of 1.33:1 and white text 15.82:1. WCAG asks for at least 4.5:1 for normal text.