Skip to content
Kolorvia
#2f1828

Color #2f1828

A muted very dark magenta.

Conversions

HEX
#2f1828
RGB
rgb(47, 24, 40)
HSL
hsl(318.3, 32.4%, 13.9%)
HSV / HSB
hsv(318.3, 48.9%, 18.4%)
CMYK
cmyk(0%, 48.9%, 14.9%, 81.6%)
LAB
lab(12.03, 14.45, -5.98)
LCH
lch(12.03, 15.64, 337.52)
OKLCH
oklch(24.7%, 0.0451, 339.24)
HWB
hwb(318.3, 9.4%, 81.6%)

Harmony colors

Complementary

#182f1f

Analogous

#2a182f
#2f1828
#2f181c

Triadic

#2f1828
#282f18
#18282f

Split-complementary

#2f1828
#1c2f18
#182f2a

Tetradic

#2f1828
#2f1f18
#182f1f
#18282f

Square

#2f1828
#2f2a18
#182f1f
#181c2f

Shades

Color #2f1828 mixed toward black.

#271421
#1f101b
#170c14
#10080d
#080407

Tints

Color #2f1828 mixed toward white.

#5f3151
#90497a
#b56e9f
#ce9ebf
#e6cfdf

Tones

Color #2f1828 mixed toward gray.

#2d1a27
#2b1c26
#291e26
#272025
#252224

Accessibility

Aa White text on this color
16.38:1
Aa Black text on this color
1.28:1

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

Under color vision deficiencies

Protanopia

#272725 · ΔE 16.7

Deuteranopia

#282924 · ΔE 19.8

Tritanopia

#2e2221 · ΔE 10.3

Achromatopsia

#202020 · ΔE 14.9

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#2f1828 (#2f1828) is rgb(47, 24, 40) in RGB.

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