Skip to content
Kolorvia
#28242b

Color #28242b

A nearly neutral, gray-leaning very dark purple.

Conversions

HEX
#28242b
RGB
rgb(40, 36, 43)
HSL
hsl(274.3, 8.9%, 15.5%)
HSV / HSB
hsv(274.3, 16.3%, 16.9%)
CMYK
cmyk(7%, 16.3%, 0%, 83.1%)
LAB
lab(14.88, 3.57, -3.95)
LCH
lch(14.88, 5.32, 312.11)
OKLCH
oklch(26.8%, 0.014, 310.96)
HWB
hwb(274.3, 14.1%, 83.1%)

Harmony colors

Complementary

#272b24

Analogous

#25242b
#28242b
#2b242b

Triadic

#28242b
#2b2824
#242b28

Split-complementary

#28242b
#2b2b24
#242b25

Tetradic

#28242b
#2b2427
#272b24
#242b28

Square

#28242b
#2b2524
#272b24
#242b2b

Shades

Color #28242b mixed toward black.

#211e24
#1b181d
#141216
#0d0c0e
#070607

Tints

Color #28242b mixed toward white.

#4c4552
#716579
#958a9d
#b8b1be
#dcd8de

Tones

Color #28242b mixed toward gray.

#28252a
#28252a
#282629
#282629
#282728

Accessibility

Aa White text on this color
15.25:1
Aa Black text on this color
1.38:1

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

Under color vision deficiencies

Protanopia

#262629 · ΔE 4

Deuteranopia

#272729 · ΔE 4.6

Tritanopia

#282828 · ΔE 5.8

Achromatopsia

#252525 · ΔE 5.8

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

Code

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

Related colors

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

Frequently asked questions

#28242b (#28242b) is rgb(40, 36, 43) in RGB.

No, #28242b is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #28242b, 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.