Color #383342
A nearly neutral, gray-leaning dark purple.
Conversions
#383342
rgb(56, 51, 66)
hsl(260, 12.8%, 22.9%)
hsv(260, 22.7%, 25.9%)
cmyk(15.2%, 22.7%, 0%, 74.1%)
lab(22.31, 5.81, -8.54)
lch(22.31, 10.33, 304.23)
oklch(33.3%, 0.0268, 300.19)
hwb(260, 20%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (12.21:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#36363f · ΔE 4.5
Deuteranopia
#36373e · ΔE 6
Tritanopia
#383c3b · ΔE 11.9
Achromatopsia
#353535 · ΔE 9.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #383342;
bg-[#383342]
Related colors
Frequently asked questions
#383342 (#383342) is rgb(56, 51, 66) in RGB.
No, #383342 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 #383342, or check how it holds up for accessibility.