Color #1f1d23
A nearly neutral, gray-leaning very dark purple.
Conversions
#1f1d23
rgb(31, 29, 35)
hsl(260, 9.4%, 12.5%)
hsv(260, 17.1%, 13.7%)
cmyk(11.4%, 17.1%, 0%, 86.3%)
lab(11.22, 2.51, -3.74)
lch(11.22, 4.5, 303.87)
oklch(23.6%, 0.0117, 300.71)
hwb(260, 11.4%, 86.3%)
Harmony colors
Accessibility
White text reads better on this background (16.69:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e22 · ΔE 2.1
Deuteranopia
#1e1e21 · ΔE 2.7
Tritanopia
#1f2120 · ΔE 6.3
Achromatopsia
#1e1e1e · ΔE 4.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f1d23;
bg-[#1f1d23]
Related colors
Frequently asked questions
#1f1d23 (#1f1d23) is rgb(31, 29, 35) in RGB.
No, #1f1d23 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 #1f1d23, or check how it holds up for accessibility.