Color #281e38
A muted very dark purple.
Conversions
#281e38
rgb(40, 30, 56)
hsl(263.1, 30.2%, 16.9%)
hsv(263.1, 46.4%, 22%)
cmyk(28.6%, 46.4%, 0%, 78%)
lab(13.62, 11.57, -15.16)
lch(13.62, 19.07, 307.35)
oklch(26%, 0.0491, 300.74)
hwb(263.1, 11.8%, 78%)
Harmony colors
Accessibility
White text reads better on this background (15.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242433 · ΔE 7.2
Deuteranopia
#252532 · ΔE 8.1
Tritanopia
#282f2e · ΔE 18.6
Achromatopsia
#232323 · ΔE 15.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281e38;
bg-[#281e38]
Related colors
Frequently asked questions
#281e38 (#281e38) is rgb(40, 30, 56) in RGB.
No, #281e38 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 #281e38, or check how it holds up for accessibility.