Color #2d1f3a
A muted very dark purple.
Conversions
#2d1f3a
rgb(45, 31, 58)
hsl(271.1, 30.3%, 17.5%)
hsv(271.1, 46.6%, 22.7%)
cmyk(22.4%, 46.6%, 0%, 77.3%)
lab(14.64, 13.29, -14.93)
lch(14.64, 19.99, 311.67)
oklch(27%, 0.0519, 307.09)
hwb(271.1, 12.2%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (15.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282735 · ΔE 8.5
Deuteranopia
#282934 · ΔE 10.7
Tritanopia
#2c302f · ΔE 18.2
Achromatopsia
#252525 · ΔE 15.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1f3a;
bg-[#2d1f3a]
Related colors
Frequently asked questions
#2d1f3a (#2d1f3a) is rgb(45, 31, 58) in RGB.
No, #2d1f3a is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #2d1f3a, or check how it holds up for accessibility.