#1D1540 color

#1D1540 rgb(29, 21, 64)
Shades of black

The hex color #1D1540 is a very dark, moderate violet.

In the RGB color model it is made of 11.4% red, 8.2% green and 25.1% blue (29, 21, 64).

Its hue angle is 251°, with 51% saturation and 17% lightness. For print, the CMYK equivalent is 55% cyan, 67% magenta, 0% yellow and 75% black.

The closest named color is Azulado (#211D49), a difference of 2.6 ΔE, a small difference.

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

#1D1540 color codes

HEX#1D1540
RGBrgb(29, 21, 64)
RGB percentrgb(11.4%, 8.2%, 25.1%)
HSLhsl(251, 51%, 17%)
HSV / HSBhsv(251, 67%, 25%)
CMYKcmyk(55%, 67%, 0%, 75%)
CIE LABlab(10.32, 17.33, -26.18)
CIE LCHlch(10.32, 31.39, 303.5)
CIE XYZxyz(1.7, 1.168, 4.985)
Decimal1905984
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1D1540, 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 #1D1540RatioAAAAAAA large
Sample text1.23:1FailFailFail
Sample text17.02:1PassPassPass
#1D1540 as text onRatioAAAAAAA large
Sample text17.02:1PassPassPass
Sample text1.23: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 #1D1540 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1d1540; }
.text { color: #1d1540; }
.border { border: 2px solid #1d1540; }
.transparent { background-color: rgb(29 21 64 / 50%); }
.gradient { background: linear-gradient(to right, #1d1540, #321540); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #1D1540?
#1D1540 is a very dark, moderate violet, closest to the named color Azulado. It belongs to the black family of colors.
What is the RGB value of #1D1540?
The RGB value is 29, 21, 64: 29 red, 21 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #1D1540?
The complementary color is #384015, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1D1540?
White text. Black text has a contrast ratio of 1.23:1 and white text 17.02:1. WCAG asks for at least 4.5:1 for normal text.