Color #321b38
A muted very dark purple.
Conversions
#321b38
rgb(50, 27, 56)
hsl(287.6, 34.9%, 16.3%)
hsv(287.6, 51.8%, 22%)
cmyk(10.7%, 51.8%, 0%, 78%)
lab(14.1, 17.36, -14.31)
lch(14.1, 22.5, 320.5)
oklch(26.7%, 0.0603, 319.1)
hwb(287.6, 10.6%, 78%)
Harmony colors
Accessibility
White text reads better on this background (15.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2933 · ΔE 12.7
Deuteranopia
#2b2c31 · ΔE 15.9
Tritanopia
#312e2d · ΔE 17.5
Achromatopsia
#242424 · ΔE 17.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #321b38;
bg-[#321b38]
Related colors
Frequently asked questions
#321b38 (#321b38) is rgb(50, 27, 56) in RGB.
No, #321b38 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 #321b38, or check how it holds up for accessibility.