#510748 color

#510748 rgb(81, 7, 72)
Shades of purple

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

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

Its hue angle is 307°, with 84% saturation and 17% lightness. For print, the CMYK equivalent is 0% cyan, 91% magenta, 11% yellow and 68% black.

The closest named color is Cosmic Explorer (#551155), a difference of 2.9 ΔE, a small difference.

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

#510748 color codes

HEX#510748
RGBrgb(81, 7, 72)
RGB percentrgb(31.8%, 2.7%, 28.2%)
HSLhsl(307, 84%, 17%)
HSV / HSBhsv(307, 91%, 32%)
CMYKcmyk(0%, 91%, 11%, 68%)
CIE LABlab(17.32, 39.11, -20.08)
CIE LCHlch(17.32, 43.97, 332.82)
CIE XYZxyz(4.639, 2.37, 6.343)
Decimal5310280
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Tyrian Purple.

Questions

What color is #510748?
#510748 is a very dark, vivid magenta, closest to the named color Cosmic Explorer. It belongs to the purple family of colors.
What is the RGB value of #510748?
The RGB value is 81, 7, 72: 81 red, 7 green and 72 blue on a 0 to 255 scale.
What is the complementary color of #510748?
The complementary color is #075110, found by rotating the hue 180° on the color wheel.
Is black or white text better on #510748?
White text. Black text has a contrast ratio of 1.47:1 and white text 14.25:1. WCAG asks for at least 4.5:1 for normal text.