Color #28232e
A nearly neutral, gray-leaning very dark purple.
Conversions
#28232e
rgb(40, 35, 46)
hsl(267.3, 13.6%, 15.9%)
hsv(267.3, 23.9%, 18%)
cmyk(13%, 23.9%, 0%, 82%)
lab(14.68, 5.08, -6.4)
lch(14.68, 8.17, 308.44)
oklch(26.6%, 0.0213, 305.63)
hwb(267.3, 13.7%, 82%)
Harmony colors
Accessibility
White text reads better on this background (15.33:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#26262c · ΔE 4.6
Deuteranopia
#26272b · ΔE 6.2
Tritanopia
#282a29 · ΔE 9.7
Achromatopsia
#252525 · ΔE 8.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28232e;
bg-[#28232e]
Related colors
Frequently asked questions
#28232e (#28232e) is rgb(40, 35, 46) in RGB.
No, #28232e 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 #28232e, or check how it holds up for accessibility.