#221047 color

#221047 is rgb(34, 16, 71) in RGB and hsl(260, 63%, 17%) in HSL. The closest CSS named color is midnightblue (#191970, ΔE 8.3). Use white text on it (contrast 17.03:1).

#221047violet
HEX#221047
RGBrgb(34, 16, 71)
RGB percentrgb(13.3%, 6.3%, 27.8%)
HSLhsl(260, 63%, 17%)
HSV / HSBhsv(260, 77%, 28%)
CMYKcmyk(52%, 77%, 0%, 72%)
CIELAB (D65)lab(10.3 24.3 -31.1)

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

About #221047

#221047 is a dark, saturated violet with a hue angle of 260°. It belongs to the purple family and reads as a cool 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#221047
RGBrgb(34, 16, 71)
RGB percentrgb(13.3%, 6.3%, 27.8%)
HSLhsl(260, 63%, 17%)
HSV / HSBhsv(260, 77%, 28%)
CMYKcmyk(52%, 77%, 0%, 72%)
CIELAB (D65)lab(10.3 24.3 -31.1)
Decimal2232391
Binary00100010 00010000 01000111

HEX 22 10 47 → 34, 16, 71 (each pair is a base-16 number: 2×16 + 2 = 34)

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 #221047

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #221047RatioAA normalAA largeAAA normalAAA large
White text17.03:1PassPassPassPass
Black text1.23:1FailFailFailFail
White text on #221047
Black text on #221047
#221047 text on white
#221047 text on black

Relative luminance is 0.0117 (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
#001d49

Deuteranopia
#001b46

Tritanopia
#171e2a

Achromatopsia
#1c1c1c

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 9). 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#1919708.3
navy#00008011.4
indigo#4b008212
darkblue#00008b12.6

CSS

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

Frequently asked questions

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