Skip to content
Kolorvia
#271d3a

Color #271d3a

A muted very dark purple.

Conversions

HEX
#271d3a
RGB
rgb(39, 29, 58)
HSL
hsl(260.7, 33.3%, 17.1%)
HSV / HSB
hsv(260.7, 50%, 22.7%)
CMYK
cmyk(32.8%, 50%, 0%, 77.3%)
LAB
lab(13.32, 12.55, -17.05)
LCH
lch(13.32, 21.17, 306.36)
OKLCH
oklch(25.8%, 0.0542, 298.41)
HWB
hwb(260.7, 11.4%, 77.3%)

Harmony colors

Complementary

#303a1d

Analogous

#1d223a
#271d3a
#361d3a

Triadic

#271d3a
#3a271d
#1d3a27

Split-complementary

#271d3a
#3a361d
#223a1d

Tetradic

#271d3a
#3a1d30
#303a1d
#1d3a27

Square

#271d3a
#3a1d22
#303a1d
#1d3a36

Shades

Color #271d3a mixed toward black.

#211830
#1a1327
#140f1d
#0d0a13
#07050a

Tints

Color #271d3a mixed toward white.

#473569
#664c98
#8a72b8
#b1a1d0
#d8d0e7

Tones

Color #271d3a mixed toward gray.

#282038
#292235
#292433
#2a2730
#2b292e

Accessibility

Aa White text on this color
15.87:1
Aa Black text on this color
1.32:1

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

Under color vision deficiencies

Protanopia

#232335 · ΔE 6.7

Deuteranopia

#242433 · ΔE 8

Tritanopia

#27302f · ΔE 20

Achromatopsia

#222222 · ΔE 16.1

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd

Frequently asked questions

#271d3a (#271d3a) is rgb(39, 29, 58) in RGB.

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