#351047 color

#351047 is rgb(53, 16, 71) in RGB and hsl(280, 63%, 17%) in HSL. The closest CSS named color is midnightblue (#191970, ΔE 11.1). Use white text on it (contrast 15.95:1).

#351047magenta
HEX#351047
RGBrgb(53, 16, 71)
RGB percentrgb(20.8%, 6.3%, 27.8%)
HSLhsl(280, 63%, 17%)
HSV / HSBhsv(280, 77%, 28%)
CMYKcmyk(25%, 77%, 0%, 72%)
CIELAB (D65)lab(13.1 28.7 -26.4)

Edit in the color converter → · Check contrast → · Shades →

About #351047

#351047 is a dark, saturated magenta with a hue angle of 280°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 71 (28%) and green the weakest at 16 (6%). Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.

Color conversions

HEX#351047
RGBrgb(53, 16, 71)
RGB percentrgb(20.8%, 6.3%, 27.8%)
HSLhsl(280, 63%, 17%)
HSV / HSBhsv(280, 77%, 28%)
CMYKcmyk(25%, 77%, 0%, 72%)
CIELAB (D65)lab(13.1 28.7 -26.4)
Decimal3477575
Binary00110101 00010000 01000111

HEX 35 10 47 → 53, 16, 71 (each pair is a base-16 number: 3×16 + 5 = 53)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #351047

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #351047RatioAA normalAA largeAAA normalAAA large
White text15.95:1PassPassPassPass
Black text1.32:1FailFailFailFail
White text on #351047
Black text on #351047
#351047 text on white
#351047 text on black

Relative luminance is 0.0158 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#002049

Deuteranopia
#0a2346

Tritanopia
#331c2a

Achromatopsia
#222222

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 15.1). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
midnightblue#19197011.1
indigo#4b008211.3
navy#00008013.6
darkblue#00008b14.6

CSS

.element {
  color: #351047;
  background-color: rgb(53, 16, 71);
  border: 1px solid hsl(280, 63%, 17%);
  box-shadow: 0 2px 8px rgb(53 16 71 / 50%);
}
:root { --brand: #351047; }

Frequently asked questions

What color is #351047?
A dark saturated magenta in the purple family. Closest CSS name: midnightblue.
What is #351047 in RGB?
rgb(53, 16, 71): red 53, green 16, blue 71.
What is the complementary color of #351047?
#224710, found by rotating the hue 180°.