Color #380042
A vivid, highly saturated very dark magenta.
Conversions
#380042
rgb(56, 0, 66)
hsl(290.9, 100%, 12.9%)
hsv(290.9, 100%, 25.9%)
cmyk(15.2%, 100%, 0%, 74.1%)
lab(10.81, 35.38, -26.59)
lch(10.81, 44.26, 323.07)
oklch(24.7%, 0.1182, 320.73)
hwb(290.9, 0%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (16.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#292939 · ΔE 17.5
Deuteranopia
#2c2e37 · ΔE 20.4
Tritanopia
#37312f · ΔE 24.4
Achromatopsia
#1d1d1d · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #380042;
bg-[#380042]
Related colors
Frequently asked questions
#380042 (#380042) is rgb(56, 0, 66) in RGB.
No, #380042 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 #380042, or check how it holds up for accessibility.