Skip to content
Kolorvia
#2a1828

Color #2a1828

A muted very dark magenta.

Conversions

HEX
#2a1828
RGB
rgb(42, 24, 40)
HSL
hsl(306.7, 27.3%, 12.9%)
HSV / HSB
hsv(306.7, 42.9%, 16.5%)
CMYK
cmyk(0%, 42.9%, 4.8%, 83.5%)
LAB
lab(11.27, 12.31, -7.21)
LCH
lch(11.27, 14.27, 329.64)
OKLCH
oklch(24%, 0.0398, 330.67)
HWB
hwb(306.7, 9.4%, 83.5%)

Harmony colors

Complementary

#182a1a

Analogous

#23182a
#2a1828
#2a181f

Triadic

#2a1828
#282a18
#18282a

Split-complementary

#2a1828
#1f2a18
#182a23

Tetradic

#2a1828
#2a1a18
#182a1a
#18282a

Square

#2a1828
#2a2318
#182a1a
#181f2a

Shades

Color #2a1828 mixed toward black.

#231421
#1c101b
#150c14
#0e080d
#070407

Tints

Color #2a1828 mixed toward white.

#593355
#884e82
#ae72a7
#c9a1c5
#e4d0e2

Tones

Color #2a1828 mixed toward gray.

#281927
#271b26
#251c24
#241e23
#221f22

Accessibility

Aa White text on this color
16.67:1
Aa Black text on this color
1.26:1

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

Under color vision deficiencies

Protanopia

#232325 · ΔE 12.8

Deuteranopia

#242624 · ΔE 17.1

Tritanopia

#292221 · ΔE 11.3

Achromatopsia

#1e1e1e · ΔE 13.7

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

Code

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

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#2a1828 (#2a1828) is rgb(42, 24, 40) in RGB.

No, #2a1828 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 #2a1828, 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.