Skip to content
Kolorvia
#2a1827

Color #2a1827

A muted very dark magenta.

Conversions

HEX
#2a1827
RGB
rgb(42, 24, 39)
HSL
hsl(310, 27.3%, 12.9%)
HSV / HSB
hsv(310, 42.9%, 16.5%)
CMYK
cmyk(0%, 42.9%, 7.1%, 83.5%)
LAB
lab(11.22, 12.08, -6.55)
LCH
lch(11.22, 13.74, 331.53)
OKLCH
oklch(23.9%, 0.0386, 332.9)
HWB
hwb(310, 9.4%, 83.5%)

Harmony colors

Complementary

#182a1b

Analogous

#24182a
#2a1827
#2a181e

Triadic

#2a1827
#272a18
#18272a

Split-complementary

#2a1827
#1e2a18
#182a24

Tetradic

#2a1827
#2a1b18
#182a1b
#18272a

Square

#2a1827
#2a2418
#182a1b
#181e2a

Shades

Color #2a1827 mixed toward black.

#231420
#1c101a
#150c13
#0e080d
#070406

Tints

Color #2a1827 mixed toward white.

#593353
#884e7e
#ae72a4
#c9a1c2
#e4d0e1

Tones

Color #2a1827 mixed toward gray.

#281926
#271b25
#251c24
#241e23
#221f22

Accessibility

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

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

Under color vision deficiencies

Protanopia

#232324 · ΔE 13

Deuteranopia

#242623 · ΔE 17.5

Tritanopia

#292121 · ΔE 10

Achromatopsia

#1e1e1e · ΔE 13.4

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

Code

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

Related colors

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

Frequently asked questions

#2a1827 (#2a1827) is rgb(42, 24, 39) in RGB.

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