#51486C color

#51486C rgb(81, 72, 108)
Shades of purple

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

In the RGB color model it is made of 31.8% red, 28.2% green and 42.4% blue (81, 72, 108).

Its hue angle is 255°, with 20% saturation and 35% lightness. For print, the CMYK equivalent is 25% cyan, 33% magenta, 0% yellow and 58% black.

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

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

#51486C color codes

HEX#51486C
RGBrgb(81, 72, 108)
RGB percentrgb(31.8%, 28.2%, 42.4%)
HSLhsl(255, 20%, 35%)
HSV / HSBhsv(255, 33%, 42%)
CMYKcmyk(25%, 33%, 0%, 58%)
CIE LABlab(32.85, 12.32, -19.49)
CIE LCHlch(32.85, 23.06, 302.29)
CIE XYZxyz(8.417, 7.467, 15.182)
Decimal5326956
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #51486c; }
.text { color: #51486c; }
.border { border: 2px solid #51486c; }
.transparent { background-color: rgb(81 72 108 / 50%); }
.gradient { background: linear-gradient(to right, #51486c, #63486c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #51486C?
#51486C 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 #51486C?
The RGB value is 81, 72, 108: 81 red, 72 green and 108 blue on a 0 to 255 scale.
What is the complementary color of #51486C?
The complementary color is #636C48, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51486C?
White text. Black text has a contrast ratio of 2.49:1 and white text 8.42:1. WCAG asks for at least 4.5:1 for normal text.