Color #281d3c
A muted very dark purple.
Conversions
#281d3c
rgb(40, 29, 60)
hsl(261.3, 34.8%, 17.5%)
hsv(261.3, 51.7%, 23.5%)
cmyk(33.3%, 51.7%, 0%, 76.5%)
lab(13.57, 13.52, -18.07)
lch(13.57, 22.57, 306.8)
oklch(26%, 0.0578, 298.65)
hwb(261.3, 11.4%, 76.5%)
Harmony colors
Accessibility
White text reads better on this background (15.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242436 · ΔE 7.4
Deuteranopia
#242535 · ΔE 8.7
Tritanopia
#283130 · ΔE 20.5
Achromatopsia
#232323 · ΔE 16.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281d3c;
bg-[#281d3c]
Related colors
Frequently asked questions
#281d3c (#281d3c) is rgb(40, 29, 60) in RGB.
No, #281d3c 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 #281d3c, or check how it holds up for accessibility.