#20004A color

#20004A rgb(32, 0, 74)
Shades of black

The hex color #20004A is a very dark, vivid violet.

In the RGB color model it is made of 12.5% red, 0% green and 29% blue (32, 0, 74).

Its hue angle is 266°, with 100% saturation and 15% lightness. For print, the CMYK equivalent is 57% cyan, 100% magenta, 0% yellow and 71% black.

The closest named color is Your Darkness (#220044), a difference of 1.5 ΔE, which is barely visible.

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

#20004A color codes

HEX#20004A
RGBrgb(32, 0, 74)
RGB percentrgb(12.5%, 0%, 29%)
HSLhsl(266, 100%, 15%)
HSV / HSBhsv(266, 100%, 29%)
CMYKcmyk(57%, 100%, 0%, 71%)
CIE LABlab(7.24, 33.87, -38.24)
CIE LCHlch(7.24, 51.09, 311.54)
CIE XYZxyz(1.831, 0.801, 6.535)
Decimal2097226
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #20004A, 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 #20004ARatioAAAAAAA large
Sample text1.16:1FailFailFail
Sample text18.1:1PassPassPass
#20004A as text onRatioAAAAAAA large
Sample text18.1:1PassPassPass
Sample text1.16: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 #20004A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #20004a; }
.text { color: #20004a; }
.border { border: 2px solid #20004a; }
.transparent { background-color: rgb(32 0 74 / 50%); }
.gradient { background: linear-gradient(to right, #20004a, #45004a); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #20004A?
#20004A is a very dark, vivid violet, closest to the named color Your Darkness. It belongs to the black family of colors.
What is the RGB value of #20004A?
The RGB value is 32, 0, 74: 32 red, 0 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #20004A?
The complementary color is #2A4A00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #20004A?
White text. Black text has a contrast ratio of 1.16:1 and white text 18.1:1. WCAG asks for at least 4.5:1 for normal text.