Color #271b3a
A muted very dark purple.
Conversions
#271b3a
rgb(39, 27, 58)
hsl(263.2, 36.5%, 16.7%)
hsv(263.2, 53.4%, 22.7%)
cmyk(32.8%, 53.4%, 0%, 77.3%)
lab(12.74, 13.98, -17.98)
lch(12.74, 22.78, 307.87)
oklch(25.3%, 0.0583, 300.17)
hwb(263.2, 10.6%, 77.3%)
Harmony colors
Accessibility
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
background-color: #271b3a;
bg-[#271b3a]
Related colors
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
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #271b3a, or check how it holds up for accessibility.