Color #2f263e
A muted very dark purple.
Conversions
#2f263e
rgb(47, 38, 62)
hsl(262.5, 24%, 19.6%)
hsv(262.5, 38.7%, 24.3%)
cmyk(24.2%, 38.7%, 0%, 75.7%)
lab(17.17, 10.23, -13.77)
lch(17.17, 17.15, 306.61)
oklch(29%, 0.0444, 300.9)
hwb(262.5, 14.9%, 75.7%)
Harmony colors
Accessibility
White text reads better on this background (14.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b39 · ΔE 6.7
Deuteranopia
#2c2d38 · ΔE 8.5
Tritanopia
#2f3534 · ΔE 17.2
Achromatopsia
#2a2a2a · ΔE 14
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f263e;
bg-[#2f263e]
Related colors
Frequently asked questions
#2f263e (#2f263e) is rgb(47, 38, 62) in RGB.
No, #2f263e 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 #2f263e, or check how it holds up for accessibility.