Black Friday 2026: design deals we check every day. See the deals →

#28223D Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

 
#28223d
Hex color #28223d graphic
The hex code #28223d creates a dark, muted violet with gray undertones and a matte, inky finish. Its low saturation gives layouts a serious, mysterious mood without bright intensity. Use it as a dominant background for moody branding, gaming, or luxury interfaces. White text achieves about 15.1:1 contrast, supporting readable small body text.

Color Conversions

Hex color #28223d converted to various formats including hex, rgb, hsl, and more.

  • Hex#28223d
  • RGBrgb(40, 34, 61)
  • RGB Percentagesrgb(16%, 13%, 24%)
  • CMYK34%, 44%, 0%, 76%
  • HSLhsl(253, 28%, 19%)
  • HSVhsv(253, 44%, 24%)
  • OKLCHoklch(27.2% 0.050 293.0)
  • LCH15, 19, 302
  • LAB15, 10, -16
  • LUV15, 1, -17
  • XYZ2, 2, 5
  • Closest Tailwind Colorgray-800

Color Variations

Variations of this color including shaded, tints, and complementary colors.

Brighten

Tints of the color as they brighten toward white.

#28223d
#3a354f
#4d4961
#615d73
#767386
#8b8899
#a19fad
#b8b6c1
#cfced5
#e7e6ea

Darken

Shades of the color as they darken toward black.

#28223d
#211c34
#1b162b
#151122
#0f0b1a
#090712
#04030a
#020104
#010001
#000000

Desaturate

Desaturated versions of this color.

#28223d
#302b44
#38344a
#403d51
#494658
#524f5e
#5b5965
#64626c
#6d6c72
#767679

Hue

Various hues of this color.

#3d2225
#3d2230
#3d223b
#33223d
#28223d
#22273d
#22323d
#223d3c
#223d31

Analogous

Analogous color palette of this color, meaning colors that are next to each other on the color wheel.

#28223d
#22273d
#23223d

Monochromatic

Monochromatic colors for this color, monochromatic colors are all of the same hue.

#28223d
#443a67
#605192
#7c69bc
#9781e7
#0c0a12

Complementary

Complementary colors for this color, complementary colors are opposites on the color wheel.

#28223d
#373d22

Split Complement

Split-complementary colors which use adjacent colors of this color’s complementary color.

#28223d
#3d2232
#273d22

Triad

Triad colors which pull themselves in a triangle across the color wheel.

#28223d
#3d2822
#223d28

Tetrad

Tetrad colors which pull themselves in a square shape across the color wheel.

#28223d
#3d2229
#373d22
#223d35

Contrast Checker

Contrast test results for the color #28223d on black and white backgrounds.
Open in contrast checker →

White Background

Passes AAA
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Black Background

Fails WCAG
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Color Blindness Simulation

See how #28223d appears to people with color vision deficiency (CVD).

Normal Vision
#28223d
Protanopia
#23233d
Red-blind (~1% of males)
Deuteranopia
#24243d
Green-blind (~1% of males)
Tritanopia
#252525
Blue-blind (very rare)
Achromatopsia
#252525
Total color blindness

Questions about #28223d

What is #28223d in RGB, HSL and CMYK?
In RGB, #28223d is rgb(40, 34, 61), in HSL hsl(253, 28%, 19%) and in CMYK 34%, 44%, 0%, 76%. Browse more shades of purple with names and hex codes.
What colors pair well with #28223d?
Pair #28223d with soft yellow-green accents for contrast, or with mauve and pale lavender for a quieter palette; white and pale gray provide crisp text contrast against its dark base.
Is #28223d a warm or cool color?
#28223d reads as a cool, dark violet because its blue component is higher than its red component, while its low saturation and gray undertones keep the effect subdued rather than bright or icy.
Is #28223d readable on white or black?
#28223d has a 15.14:1 contrast ratio on white and 1.38:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.