#5A005D color

#5A005D rgb(90, 0, 93)
Shades of purple

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

In the RGB color model it is made of 35.3% red, 0% green and 36.5% blue (90, 0, 93).

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

The closest named color is Cloak and Dagger (#550055), a difference of 1.6 ΔE, which is barely visible.

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

#5A005D color codes

HEX#5A005D
RGBrgb(90, 0, 93)
RGB percentrgb(35.3%, 0%, 36.5%)
HSLhsl(298, 100%, 18%)
HSV / HSBhsv(298, 100%, 36%)
CMYKcmyk(3%, 100%, 0%, 64%)
CIE LABlab(19.9, 46.44, -30.11)
CIE LCHlch(19.9, 55.35, 327.05)
CIE XYZxyz(6.192, 2.964, 10.6)
Decimal5898333
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A005D, 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 #5A005DRatioAAAAAAA large
Sample text1.59:1FailFailFail
Sample text13.18:1PassPassPass
#5A005D as text onRatioAAAAAAA large
Sample text13.18:1PassPassPass
Sample text1.59: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 #5A005D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a005d; }
.text { color: #5a005d; }
.border { border: 2px solid #5a005d; }
.transparent { background-color: rgb(90 0 93 / 50%); }
.gradient { background: linear-gradient(to right, #5a005d, #5d0032); }
Background
Text color
Border

Similar colors

Closest common color name: Purple.

Questions

What color is #5A005D?
#5A005D is a very dark, vivid magenta, closest to the named color Cloak and Dagger. It belongs to the purple family of colors.
What is the RGB value of #5A005D?
The RGB value is 90, 0, 93: 90 red, 0 green and 93 blue on a 0 to 255 scale.
What is the complementary color of #5A005D?
The complementary color is #035D00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A005D?
White text. Black text has a contrast ratio of 1.59:1 and white text 13.18:1. WCAG asks for at least 4.5:1 for normal text.