Color #2a1930
A muted very dark purple.
Conversions
#2a1930
rgb(42, 25, 48)
hsl(284.3, 31.5%, 14.3%)
hsv(284.3, 47.9%, 18.8%)
cmyk(12.5%, 47.9%, 0%, 81.2%)
lab(11.96, 13.62, -11.99)
lch(11.96, 18.15, 318.64)
oklch(24.7%, 0.0483, 316.93)
hwb(284.3, 9.8%, 81.2%)
Harmony colors
Accessibility
White text reads better on this background (16.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#24232c · ΔE 10.6
Deuteranopia
#25262a · ΔE 14
Tritanopia
#292827 · ΔE 16
Achromatopsia
#1f1f1f · ΔE 15.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a1930;
bg-[#2a1930]
Related colors
Frequently asked questions
#2a1930 (#2a1930) is rgb(42, 25, 48) in RGB.
No, #2a1930 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 #2a1930, or check how it holds up for accessibility.