#1A022B color

#1A022B rgb(26, 2, 43)
Shades of black

The hex color #1A022B is a very dark, vivid violet.

In the RGB color model it is made of 10.2% red, 0.8% green and 16.9% blue (26, 2, 43).

Its hue angle is 275°, with 91% saturation and 9% lightness. For print, the CMYK equivalent is 40% cyan, 95% magenta, 0% yellow and 83% black.

The closest named color is Midnight Monarch (#1C0F33), a difference of 2.7 ΔE, a small difference.

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

#1A022B color codes

HEX#1A022B
RGBrgb(26, 2, 43)
RGB percentrgb(10.2%, 0.8%, 16.9%)
HSLhsl(275, 91%, 9%)
HSV / HSBhsv(275, 95%, 17%)
CMYKcmyk(40%, 95%, 0%, 83%)
CIE LABlab(3.95, 19.14, -21.07)
CIE LCHlch(3.95, 28.46, 312.25)
CIE XYZxyz(0.884, 0.437, 2.323)
Decimal1704491
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1A022B, 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 #1A022BRatioAAAAAAA large
Sample text1.09:1FailFailFail
Sample text19.31:1PassPassPass
#1A022B as text onRatioAAAAAAA large
Sample text19.31:1PassPassPass
Sample text1.09: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 #1A022B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1a022b; }
.text { color: #1a022b; }
.border { border: 2px solid #1a022b; }
.transparent { background-color: rgb(26 2 43 / 50%); }
.gradient { background: linear-gradient(to right, #1a022b, #2b0228); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #1A022B?
#1A022B is a very dark, vivid violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
What is the RGB value of #1A022B?
The RGB value is 26, 2, 43: 26 red, 2 green and 43 blue on a 0 to 255 scale.
What is the complementary color of #1A022B?
The complementary color is #132B02, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1A022B?
White text. Black text has a contrast ratio of 1.09:1 and white text 19.31:1. WCAG asks for at least 4.5:1 for normal text.