Color #1f0635
A vivid, highly saturated very dark purple.
Conversions
#1f0635
rgb(31, 6, 53)
hsl(271.9, 79.7%, 11.6%)
hsv(271.9, 88.7%, 20.8%)
cmyk(41.5%, 88.7%, 0%, 79.2%)
lab(6.13, 23.34, -25.02)
lch(6.13, 34.22, 313.01)
oklch(20%, 0.0867, 303.76)
hwb(271.9, 2.4%, 79.2%)
Harmony colors
Accessibility
White text reads better on this background (18.49:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#17172e · ΔE 9.9
Deuteranopia
#181a2c · ΔE 12.5
Tritanopia
#1e2826 · ΔE 23.6
Achromatopsia
#141414 · ΔE 21.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f0635;
bg-[#1f0635]
Related colors
Frequently asked questions
#1f0635 (#1f0635) is rgb(31, 6, 53) in RGB.
No, #1f0635 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 #1f0635, or check how it holds up for accessibility.