Color #381d40
A muted very dark purple.
Conversions
#381d40
rgb(56, 29, 64)
hsl(286.3, 37.6%, 18.2%)
hsv(286.3, 54.7%, 25.1%)
cmyk(12.5%, 54.7%, 0%, 74.9%)
lab(15.95, 20.21, -16.98)
lch(15.95, 26.4, 319.96)
oklch(28.4%, 0.0705, 318.16)
hwb(286.3, 11.4%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (14.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e3a · ΔE 14
Deuteranopia
#303238 · ΔE 17.5
Tritanopia
#373433 · ΔE 19.2
Achromatopsia
#282828 · ΔE 19.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #381d40;
bg-[#381d40]
Related colors
Frequently asked questions
#381d40 (#381d40) is rgb(56, 29, 64) in RGB.
No, #381d40 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 #381d40, or check how it holds up for accessibility.