Color #2a142f
A moderately saturated very dark purple.
Conversions
#2a142f
rgb(42, 20, 47)
hsl(288.9, 40.3%, 13.1%)
hsv(288.9, 57.4%, 18.4%)
cmyk(10.6%, 57.4%, 0%, 81.6%)
lab(10.54, 16.82, -13.48)
lch(10.54, 21.56, 321.29)
oklch(23.6%, 0.0579, 320.04)
hwb(288.9, 7.8%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#22222a · ΔE 13.6
Deuteranopia
#232529 · ΔE 16.5
Tritanopia
#292625 · ΔE 17
Achromatopsia
#1d1d1d · ΔE 17.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a142f;
bg-[#2a142f]
Related colors
Frequently asked questions
#2a142f (#2a142f) is rgb(42, 20, 47) in RGB.
No, #2a142f 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 #2a142f, or check how it holds up for accessibility.