#1E1540 color

#1E1540 rgb(30, 21, 64)
Shades of black

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

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

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

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

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

#1E1540 color codes

HEX#1E1540
RGBrgb(30, 21, 64)
RGB percentrgb(11.8%, 8.2%, 25.1%)
HSLhsl(253, 51%, 17%)
HSV / HSBhsv(253, 67%, 25%)
CMYKcmyk(53%, 67%, 0%, 75%)
CIE LABlab(10.43, 17.58, -25.99)
CIE LCHlch(10.43, 31.38, 304.08)
CIE XYZxyz(1.729, 1.182, 4.987)
Decimal1971520
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1E1540, 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 #1E1540RatioAAAAAAA large
Sample text1.24:1FailFailFail
Sample text16.98:1PassPassPass
#1E1540 as text onRatioAAAAAAA large
Sample text16.98:1PassPassPass
Sample text1.24: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 #1E1540 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #1E1540?
#1E1540 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 #1E1540?
The RGB value is 30, 21, 64: 30 red, 21 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #1E1540?
The complementary color is #374015, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1E1540?
White text. Black text has a contrast ratio of 1.24:1 and white text 16.98:1. WCAG asks for at least 4.5:1 for normal text.