Skip to content
Kolorvia
#28152a

Color #28152a

A muted very dark magenta.

Conversions

HEX
#28152a
RGB
rgb(40, 21, 42)
HSL
hsl(294.3, 33.3%, 12.4%)
HSV / HSB
hsv(294.3, 50%, 16.5%)
CMYK
cmyk(4.8%, 50%, 0%, 83.5%)
LAB
lab(10.22, 14.09, -10.33)
LCH
lch(10.22, 17.47, 323.75)
OKLCH
oklch(23.2%, 0.0475, 323.47)
HWB
hwb(294.3, 8.2%, 83.5%)

Harmony colors

Complementary

#172a15

Analogous

#1e152a
#28152a
#2a1522

Triadic

#28152a
#2a2815
#152a28

Split-complementary

#28152a
#222a15
#152a1e

Tetradic

#28152a
#2a1517
#172a15
#152a28

Square

#28152a
#2a1e15
#172a15
#15222a

Shades

Color #28152a mixed toward black.

#211223
#1b0e1c
#140b15
#0d070e
#070407

Tints

Color #28152a mixed toward white.

#572e5c
#87478d
#ad6ab5
#c99ccd
#e4cde6

Tones

Color #28152a mixed toward gray.

#271728
#251927
#241a25
#221c23
#211e21

Accessibility

Aa White text on this color
17.06:1
Aa Black text on this color
1.23:1

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

Under color vision deficiencies

Protanopia

#212126 · ΔE 13

Deuteranopia

#222325 · ΔE 15.1

Tritanopia

#272222 · ΔE 13.4

Achromatopsia

#1c1c1c · ΔE 15.3

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

Code

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

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

#28152a (#28152a) is rgb(40, 21, 42) in RGB.

No, #28152a 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 #28152a, 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.