Color #38172f
A moderately saturated very dark magenta.
Conversions
#38172f
rgb(56, 23, 47)
hsl(316.4, 41.8%, 15.5%)
hsv(316.4, 58.9%, 22%)
cmyk(0%, 58.9%, 16.1%, 78%)
lab(13.58, 20.19, -8.58)
lch(13.58, 21.94, 336.98)
oklch(26.3%, 0.0635, 338.77)
hwb(316.4, 9%, 78%)
Harmony colors
Accessibility
White text reads better on this background (15.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d2a · ΔE 21.2
Deuteranopia
#2f3129 · ΔE 26.3
Tritanopia
#372626 · ΔE 12.1
Achromatopsia
#232323 · ΔE 18.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #38172f;
bg-[#38172f]
Related colors
Frequently asked questions
#38172f (#38172f) is rgb(56, 23, 47) in RGB.
No, #38172f 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 #38172f, or check how it holds up for accessibility.