#1F1730 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#1f1730 is a near-black purple with a dusty violet undertone. Its very low saturation and dark value make it a strong base for dark mode UI and moody brand palettes, reading softer than pure black. It flatters muted gold and dusty rose accents more than bright neons. White text passes WCAG AA easily on it, reaching about 17.2:1 contrast.
Questions about #1f1730
What is #1f1730 in RGB, HSL and CMYK?
In RGB, #1f1730 is rgb(31, 23, 48), in HSL hsl(259, 35%, 14%) and in CMYK 35%, 52%, 0%, 81%. Browse more shades of purple with names and hex codes.
What text color works best on #1f1730?
White text is the safest choice, reaching about 17.2:1 contrast, well above the WCAG AA requirement of 4.5:1. Light tints of lavender also stay readable.
What colors pair well with #1f1730?
Muted gold, dusty rose, and desaturated plum all sit comfortably beside #1f1730 without fighting its low saturation. Bright neons tend to overpower it, so keep accents soft and let it act as the dark base at 60 percent of a palette.
Is #1f1730 readable on white or black?
#1f1730 has a 17.16:1 contrast ratio on white and 1.22:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.