Skip to content
Kolorvia
#271b2b

Color #271b2b

A muted very dark purple.

Conversions

HEX
#271b2b
RGB
rgb(39, 27, 43)
HSL
hsl(285, 22.9%, 13.7%)
HSV / HSB
hsv(285, 37.2%, 16.9%)
CMYK
cmyk(9.3%, 37.2%, 0%, 83.1%)
LAB
lab(11.89, 9.64, -8.5)
LCH
lch(11.89, 12.85, 318.6)
OKLCH
oklch(24.4%, 0.0343, 317.48)
HWB
hwb(285, 10.6%, 83.1%)

Harmony colors

Complementary

#1f2b1b

Analogous

#1f1b2b
#271b2b
#2b1b27

Triadic

#271b2b
#2b271b
#1b2b27

Split-complementary

#271b2b
#272b1b
#1b2b1f

Tetradic

#271b2b
#2b1b1f
#1f2b1b
#1b2b27

Square

#271b2b
#2b1f1b
#1f2b1b
#1b272b

Shades

Color #271b2b mixed toward black.

#201624
#1a121d
#130d15
#0d090e
#060407

Tints

Color #271b2b mixed toward white.

#503758
#795385
#9e78aa
#bea5c6
#dfd2e3

Tones

Color #271b2b mixed toward gray.

#261c2a
#261e28
#251f27
#242026
#242224

Accessibility

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

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

Under color vision deficiencies

Protanopia

#222228 · ΔE 9.1

Deuteranopia

#232427 · ΔE 11.2

Tritanopia

#262524 · ΔE 12.6

Achromatopsia

#1f1f1f · ΔE 12.2

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

Code

CSS
background-color: #271b2b;
Tailwind (arbitrary value)
bg-[#271b2b]

Related colors

Dark Violet #9400d3
Medium Orchid #ba55d3
Dark Orchid #9932cc
Indigo #4b0082
Blue Violet #8a2be2
Dark Magenta #8b008b

Frequently asked questions

#271b2b (#271b2b) is rgb(39, 27, 43) in RGB.

No, #271b2b 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 #271b2b, 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.