Color #1f1123
A muted very dark purple.
Conversions
#1f1123
rgb(31, 17, 35)
hsl(286.7, 34.6%, 10.2%)
hsv(286.7, 51.4%, 13.7%)
cmyk(11.4%, 51.4%, 0%, 86.3%)
lab(7.35, 11.38, -9.64)
lch(7.35, 14.91, 319.73)
oklch(20.6%, 0.0402, 318.53)
hwb(286.7, 6.7%, 86.3%)
Harmony colors
Accessibility
White text reads better on this background (18.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a20 · ΔE 10.5
Deuteranopia
#1b1b1f · ΔE 11.5
Tritanopia
#1e1d1c · ΔE 14.1
Achromatopsia
#161616 · ΔE 13.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f1123;
bg-[#1f1123]
Related colors
Frequently asked questions
#1f1123 (#1f1123) is rgb(31, 17, 35) in RGB.
No, #1f1123 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 #1f1123, or check how it holds up for accessibility.