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

#28185D Hex Color

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

 
#28185d
Hex color #28185d graphic
Dark and cool, #28185d is a deep violet with strong blue undertones and enough saturation to avoid looking gray. Its low lightness gives layouts a serious, mysterious feel, making it effective as a dominant background in moody interfaces, luxury branding, and gaming graphics. The hex code #28185d supports crisp white text, with about 15.2:1 contrast for accessible body copy.

Color Conversions

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

  • Hex#28185d
  • RGBrgb(40, 24, 93)
  • RGB Percentagesrgb(16%, 9%, 36%)
  • CMYK57%, 74%, 0%, 64%
  • HSLhsl(254, 59%, 23%)
  • HSVhsv(254, 74%, 36%)
  • OKLCHoklch(27.9% 0.116 286.9)
  • LCH15, 48, 306
  • LAB15, 28, -39
  • LUV15, 1, -39
  • XYZ3, 2, 11
  • Closest Tailwind Colorviolet-950

Color Variations

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

Brighten

Tints of the color as they brighten toward white.

#28185d
#392f6d
#4b457e
#5f5a8e
#73709e
#8987ae
#9f9ebe
#b6b6ce
#cecede
#e6e6ef

Darken

Shades of the color as they darken toward black.

#28185d
#211350
#1b0f43
#150a37
#0f072a
#09041f
#040214
#02010a
#010003
#000000

Desaturate

Desaturated versions of this color.

#28185d
#2f2461
#372f66
#3f396a
#47436d
#504d71
#595774
#626278
#6c6c7b
#76767d

Hue

Various hues of this color.

#5d181f
#5d183c
#5d1858
#45185d
#28185d
#18255d
#18415d
#185d5c
#185d3f

Analogous

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

#28185d
#18245d
#1a185d

Monochromatic

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

#28185d
#3a2387
#4d2eb2
#5f39dc
#030208
#160d32

Complementary

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

#28185d
#4d5d18

Split Complement

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

#28185d
#5d183f
#245d18

Triad

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

#28185d
#5d2818
#185d28

Tetrad

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

#28185d
#5d182a
#4d5d18
#185d4a

Contrast Checker

Contrast test results for the color #28185d 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 #28185d appears to people with color vision deficiency (CVD).

Normal Vision
#28185d
Protanopia
#1b1b5d
Red-blind (~1% of males)
Deuteranopia
#1d1d5d
Green-blind (~1% of males)
Tritanopia
#1f2121
Blue-blind (very rare)
Achromatopsia
#202020
Total color blindness

Questions about #28185d

What is #28185d in RGB, HSL and CMYK?
In RGB, #28185d is rgb(40, 24, 93), in HSL hsl(254, 59%, 23%) and in CMYK 57%, 74%, 0%, 64%. Browse more shades of purple with names and hex codes.
What colors pair well with #28185d?
#28185d pairs well with soft white, pale lavender, muted gold, and warm terracotta, adding light or controlled warmth without erasing its depth; pale neutrals keep layouts clean, while warmer accents suit buttons, highlights, and decorative details.
Is #28185d readable on white or black?
#28185d has a 15.22:1 contrast ratio on white and 1.37: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.