Color #2a2237
A muted very dark purple.
Conversions
#2a2237
rgb(42, 34, 55)
hsl(262.9, 23.6%, 17.5%)
hsv(262.9, 38.2%, 21.6%)
cmyk(23.6%, 38.2%, 0%, 78.4%)
lab(15.02, 9.14, -12.25)
lch(15.02, 15.28, 306.73)
oklch(27.1%, 0.0396, 301.36)
hwb(262.9, 13.3%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (15.19:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272733 · ΔE 6.5
Deuteranopia
#272832 · ΔE 7.9
Tritanopia
#2a2f2e · ΔE 15.8
Achromatopsia
#262626 · ΔE 13
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a2237;
bg-[#2a2237]
Related colors
Frequently asked questions
#2a2237 (#2a2237) is rgb(42, 34, 55) in RGB.
No, #2a2237 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 #2a2237, or check how it holds up for accessibility.