Color #281f36
A muted very dark purple.
Conversions
#281f36
rgb(40, 31, 54)
hsl(263.5, 27.1%, 16.7%)
hsv(263.5, 42.6%, 21.2%)
cmyk(25.9%, 42.6%, 0%, 78.8%)
lab(13.81, 10.24, -13.44)
lch(13.81, 16.9, 307.3)
oklch(26.1%, 0.0437, 301.44)
hwb(263.5, 12.2%, 78.8%)
Harmony colors
Accessibility
White text reads better on this background (15.68:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242431 · ΔE 6.9
Deuteranopia
#252630 · ΔE 8.8
Tritanopia
#282e2d · ΔE 17.2
Achromatopsia
#232323 · ΔE 13.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281f36;
bg-[#281f36]
Related colors
Frequently asked questions
#281f36 (#281f36) is rgb(40, 31, 54) in RGB.
No, #281f36 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 #281f36, or check how it holds up for accessibility.