Color #282135
A muted very dark purple.
Conversions
#282135
rgb(40, 33, 53)
hsl(261, 23.3%, 16.9%)
hsv(261, 37.7%, 20.8%)
cmyk(24.5%, 37.7%, 0%, 79.2%)
lab(14.38, 8.5, -11.85)
lch(14.38, 14.58, 305.65)
oklch(26.5%, 0.0377, 299.9)
hwb(261, 12.9%, 79.2%)
Harmony colors
Accessibility
White text reads better on this background (15.45:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252531 · ΔE 5.8
Deuteranopia
#262630 · ΔE 6.8
Tritanopia
#282d2d · ΔE 14.8
Achromatopsia
#242424 · ΔE 12.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #282135;
bg-[#282135]
Related colors
Frequently asked questions
#282135 (#282135) is rgb(40, 33, 53) in RGB.
No, #282135 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 #282135, or check how it holds up for accessibility.