#221133 color

#221133 is rgb(34, 17, 51) in RGB and hsl(270, 50%, 13%) in HSL. The closest CSS named color is midnightblue (#191970, ΔE 13.8). Use white text on it (contrast 17.56:1).

#221133purple
HEX#221133
Short HEX#213
RGBrgb(34, 17, 51)
RGB percentrgb(13.3%, 6.7%, 20%)
HSLhsl(270, 50%, 13%)
HSV / HSBhsv(270, 67%, 20%)
CMYKcmyk(33%, 67%, 0%, 80%)

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

About #221133

#221133 is a dark, saturated purple with a hue angle of 270°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 51 (20%) and green the weakest at 17 (7%). Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.

Color conversions

HEX#221133
Short HEX#213
RGBrgb(34, 17, 51)
RGB percentrgb(13.3%, 6.7%, 20%)
HSLhsl(270, 50%, 13%)
HSV / HSBhsv(270, 67%, 20%)
CMYKcmyk(33%, 67%, 0%, 80%)
CIELAB (D65)lab(8.8 17.2 -19.2)
Decimal2232627
Binary00100010 00010001 00110011

HEX 22 11 33 → 34, 17, 51 (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 #221133

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #221133RatioAA normalAA largeAAA normalAAA large
White text17.56:1PassPassPassPass
Black text1.20:1FailFailFailFail
White text on #221133
Black text on #221133
#221133 text on white
#221133 text on black

Relative luminance is 0.0098 (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
#051934

Deuteranopia
#0a1932

Tritanopia
#1f181f

Achromatopsia
#191919

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 11.2). 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#19197013.8
indigo#4b008216.7
navy#00008017
darkblue#00008b18.1

Nearby colors

CSS

.element {
  color: #221133;
  background-color: rgb(34, 17, 51);
  border: 1px solid hsl(270, 50%, 13%);
  box-shadow: 0 2px 8px rgb(34 17 51 / 50%);
}
:root { --brand: #221133; }

Frequently asked questions

What color is #221133?
A dark saturated purple in the purple family. Closest CSS name: midnightblue.
What is #221133 in RGB?
rgb(34, 17, 51): red 34, green 17, blue 51.
What is the complementary color of #221133?
#223311, found by rotating the hue 180°.