#51334D color

#51334D rgb(81, 51, 77)
Shades of purple

The hex color #51334D is a dark, grayish magenta.

In the RGB color model it is made of 31.8% red, 20% green and 30.2% blue (81, 51, 77).

Its hue angle is 308°, with 23% saturation and 26% lightness. For print, the CMYK equivalent is 0% cyan, 37% magenta, 5% yellow and 68% black.

The closest named color is Shadow Purple (#4E334E), a difference of 1.1 ΔE, which is barely visible.

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

#51334D color codes

HEX#51334D
RGBrgb(81, 51, 77)
RGB percentrgb(31.8%, 20%, 30.2%)
HSLhsl(308, 23%, 26%)
HSV / HSBhsv(308, 37%, 32%)
CMYKcmyk(0%, 37%, 5%, 68%)
CIE LABlab(25.72, 18.32, -10.43)
CIE LCHlch(25.72, 21.08, 330.34)
CIE XYZxyz(5.917, 4.653, 7.606)
Decimal5321549
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #51334D, 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 #51334DRatioAAAAAAA large
Sample text1.93:1FailFailFail
Sample text10.88:1PassPassPass
#51334D as text onRatioAAAAAAA large
Sample text10.88:1PassPassPass
Sample text1.93: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 #51334D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #51334d; }
.text { color: #51334d; }
.border { border: 2px solid #51334d; }
.transparent { background-color: rgb(81 51 77 / 50%); }
.gradient { background: linear-gradient(to right, #51334d, #51333e); }
Background
Text color
Border

Similar colors

Questions

What color is #51334D?
#51334D is a dark, grayish magenta, closest to the named color Shadow Purple. It belongs to the purple family of colors.
What is the RGB value of #51334D?
The RGB value is 81, 51, 77: 81 red, 51 green and 77 blue on a 0 to 255 scale.
What is the complementary color of #51334D?
The complementary color is #335137, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51334D?
White text. Black text has a contrast ratio of 1.93:1 and white text 10.88:1. WCAG asks for at least 4.5:1 for normal text.