#420040 color

#420040 rgb(66, 0, 64)
Shades of purple

The hex color #420040 is a very dark, vivid magenta.

In the RGB color model it is made of 25.9% red, 0% green and 25.1% blue (66, 0, 64).

Its hue angle is 302°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 3% yellow and 74% black.

The closest named color is Velvet Cosmos (#441144), a difference of 2.8 ΔE, a small difference.

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

#420040 color codes

HEX#420040
RGBrgb(66, 0, 64)
RGB percentrgb(25.9%, 0%, 25.1%)
HSLhsl(302, 100%, 13%)
HSV / HSBhsv(302, 100%, 26%)
CMYKcmyk(0%, 100%, 3%, 74%)
CIE LABlab(12.79, 36.89, -21.88)
CIE LCHlch(12.79, 42.89, 329.33)
CIE XYZxyz(3.172, 1.529, 4.977)
Decimal4325440
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #420040; }
.text { color: #420040; }
.border { border: 2px solid #420040; }
.transparent { background-color: rgb(66 0 64 / 50%); }
.gradient { background: linear-gradient(to right, #420040, #42001f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #420040?
#420040 is a very dark, vivid magenta, closest to the named color Velvet Cosmos. It belongs to the purple family of colors.
What is the RGB value of #420040?
The RGB value is 66, 0, 64: 66 red, 0 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #420040?
The complementary color is #004202, found by rotating the hue 180° on the color wheel.
Is black or white text better on #420040?
White text. Black text has a contrast ratio of 1.31:1 and white text 16.08:1. WCAG asks for at least 4.5:1 for normal text.