Skip to content
Kolorvia
#281e2a

Color #281e2a

A muted very dark magenta.

Conversions

HEX
#281e2a
RGB
rgb(40, 30, 42)
HSL
hsl(290, 16.7%, 14.1%)
HSV / HSB
hsv(290, 28.6%, 16.5%)
CMYK
cmyk(4.8%, 28.6%, 0%, 83.5%)
LAB
lab(12.9, 7.63, -6.21)
LCH
lch(12.9, 9.84, 320.86)
OKLCH
oklch(25.2%, 0.0265, 320.66)
HWB
hwb(290, 11.8%, 83.5%)

Harmony colors

Complementary

#202a1e

Analogous

#221e2a
#281e2a
#2a1e26

Triadic

#281e2a
#2a281e
#1e2a28

Split-complementary

#281e2a
#262a1e
#1e2a22

Tetradic

#281e2a
#2a1e20
#202a1e
#1e2a28

Square

#281e2a
#2a221e
#202a1e
#1e262a

Shades

Color #281e2a mixed toward black.

#211923
#1b141c
#140f15
#0d0a0e
#070507

Tints

Color #281e2a mixed toward white.

#513c55
#795b7f
#9e7fa4
#beaac2
#dfd4e1

Tones

Color #281e2a mixed toward gray.

#271f29
#272028
#262127
#252226
#252325

Accessibility

Aa White text on this color
16.04:1
Aa Black text on this color
1.31:1

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

Under color vision deficiencies

Protanopia

#242427 · ΔE 8.5

Deuteranopia

#252527 · ΔE 9

Tritanopia

#282525 · ΔE 8.8

Achromatopsia

#212121 · ΔE 10.1

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd

Frequently asked questions

#281e2a (#281e2a) is rgb(40, 30, 42) in RGB.

No, #281e2a 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 #281e2a, 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.