Color #282037
A muted very dark purple.
Conversions
#282037
rgb(40, 32, 55)
hsl(260.9, 26.4%, 17.1%)
hsv(260.9, 41.8%, 21.6%)
cmyk(27.3%, 41.8%, 0%, 78.4%)
lab(14.17, 9.82, -13.59)
lch(14.17, 16.77, 305.85)
oklch(26.4%, 0.0433, 299.47)
hwb(260.9, 12.5%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (15.53:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252532 · ΔE 6.6
Deuteranopia
#252631 · ΔE 8
Tritanopia
#282f2e · ΔE 17.3
Achromatopsia
#242424 · ΔE 13.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #282037;
bg-[#282037]
Related colors
Frequently asked questions
#282037 (#282037) is rgb(40, 32, 55) in RGB.
No, #282037 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 #282037, or check how it holds up for accessibility.