Skip to content
Kolorvia
#271b3a

Color #271b3a

A muted very dark purple.

Conversions

HEX
#271b3a
RGB
rgb(39, 27, 58)
HSL
hsl(263.2, 36.5%, 16.7%)
HSV / HSB
hsv(263.2, 53.4%, 22.7%)
CMYK
cmyk(32.8%, 53.4%, 0%, 77.3%)
LAB
lab(12.74, 13.98, -17.98)
LCH
lch(12.74, 22.78, 307.87)
OKLCH
oklch(25.3%, 0.0583, 300.17)
HWB
hwb(263.2, 10.6%, 77.3%)

Harmony colors

Complementary

#2e3a1b

Analogous

#1b1f3a
#271b3a
#371b3a

Triadic

#271b3a
#3a271b
#1b3a27

Split-complementary

#271b3a
#3a371b
#1f3a1b

Tetradic

#271b3a
#3a1b2e
#2e3a1b
#1b3a27

Square

#271b3a
#3a1b1f
#2e3a1b
#1b3a37

Shades

Color #271b3a mixed toward black.

#211730
#1a1227
#140e1d
#0d0913
#07050a

Tints

Color #271b3a mixed toward white.

#48326a
#68489b
#8c6ebc
#b29ed2
#d9cfe9

Tones

Color #271b3a mixed toward gray.

#281e38
#282035
#292332
#292530
#2a282d

Accessibility

Aa White text on this color
16.1:1
Aa Black text on this color
1.3:1

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

Under color vision deficiencies

Protanopia

#222234 · ΔE 7.6

Deuteranopia

#232433 · ΔE 9.4

Tritanopia

#262f2e · ΔE 20.6

Achromatopsia

#212121 · ΔE 16.9

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee

Frequently asked questions

#271b3a (#271b3a) is rgb(39, 27, 58) in RGB.

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