#52405C color

#52405C rgb(82, 64, 92)
Shades of purple

The hex color #52405C is a dark, grayish violet.

In the RGB color model it is made of 32.2% red, 25.1% green and 36.1% blue (82, 64, 92).

Its hue angle is 279°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 11% cyan, 30% magenta, 0% yellow and 64% black.

The closest named color is Nightly Walk (#544563), a difference of 2 ΔE, a small difference.

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

#52405C color codes

HEX#52405C
RGBrgb(82, 64, 92)
RGB percentrgb(32.2%, 25.1%, 36.1%)
HSLhsl(279, 18%, 31%)
HSV / HSBhsv(279, 30%, 36%)
CMYKcmyk(11%, 30%, 0%, 64%)
CIE LABlab(29.99, 13.75, -13.69)
CIE LCHlch(29.99, 19.4, 315.11)
CIE XYZxyz(7.245, 6.233, 10.945)
Decimal5390428
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #52405C, 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 #52405CRatioAAAAAAA large
Sample text2.25:1FailFailFail
Sample text9.35:1PassPassPass
#52405C as text onRatioAAAAAAA large
Sample text9.35:1PassPassPass
Sample text2.25: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 #52405C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #52405c; }
.text { color: #52405c; }
.border { border: 2px solid #52405c; }
.transparent { background-color: rgb(82 64 92 / 50%); }
.gradient { background: linear-gradient(to right, #52405c, #5c4058); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #52405C?
#52405C is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the purple family of colors.
What is the RGB value of #52405C?
The RGB value is 82, 64, 92: 82 red, 64 green and 92 blue on a 0 to 255 scale.
What is the complementary color of #52405C?
The complementary color is #4A5C40, found by rotating the hue 180° on the color wheel.
Is black or white text better on #52405C?
White text. Black text has a contrast ratio of 2.25:1 and white text 9.35:1. WCAG asks for at least 4.5:1 for normal text.