Color #28142f
A moderately saturated very dark purple.
Conversions
#28142f
rgb(40, 20, 47)
hsl(284.4, 40.3%, 13.1%)
hsv(284.4, 57.4%, 18.4%)
cmyk(14.9%, 57.4%, 0%, 81.6%)
lab(10.23, 16.08, -13.98)
lch(10.23, 21.31, 319)
oklch(23.3%, 0.0567, 316.79)
hwb(284.4, 7.8%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (17.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21212a · ΔE 12.7
Deuteranopia
#222329 · ΔE 14.6
Tritanopia
#272625 · ΔE 17.7
Achromatopsia
#1c1c1c · ΔE 17
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28142f;
bg-[#28142f]
Related colors
Frequently asked questions
#28142f (#28142f) is rgb(40, 20, 47) in RGB.
No, #28142f 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 #28142f, or check how it holds up for accessibility.