Skip to content
Kolorvia
#221228

Color #221228

A muted very dark purple.

Conversions

HEX
#221228
RGB
rgb(34, 18, 40)
HSL
hsl(283.6, 37.9%, 11.4%)
HSV / HSB
hsv(283.6, 55%, 15.7%)
CMYK
cmyk(15%, 55%, 0%, 84.3%)
LAB
lab(8.36, 13.31, -11.8)
LCH
lch(8.36, 17.79, 318.44)
OKLCH
oklch(21.5%, 0.0472, 316.37)
HWB
hwb(283.6, 7.1%, 84.3%)

Harmony colors

Complementary

#182812

Analogous

#171228
#221228
#281223

Triadic

#221228
#282212
#122822

Split-complementary

#221228
#232812
#122817

Tetradic

#221228
#281218
#182812
#122822

Square

#221228
#281712
#182812
#122328

Shades

Color #221228 mixed toward black.

#1c0f21
#170c1b
#110914
#0b060d
#060307

Tints

Color #221228 mixed toward white.

#4e295c
#7a4190
#a163b9
#c197d0
#e0cbe8

Tones

Color #221228 mixed toward gray.

#211426
#201624
#201823
#1f1921
#1e1b1f

Accessibility

Aa White text on this color
17.72:1
Aa Black text on this color
1.19:1

White text reads better on this background (17.72:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#1c1c24 · ΔE 11.1

Deuteranopia

#1d1e23 · ΔE 13.2

Tritanopia

#21201f · ΔE 15.7

Achromatopsia

#181818 · ΔE 15.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #221228;
Tailwind (arbitrary value)
bg-[#221228]

Related colors

Dark Violet #9400d3
Dark Orchid #9932cc
Medium Orchid #ba55d3
Indigo #4b0082
Blue Violet #8a2be2
Rebecca Purple #663399

Frequently asked questions

#221228 (#221228) is rgb(34, 18, 40) in RGB.

No, #221228 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #221228, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.