Color #251c37
A muted very dark purple.
Conversions
#251c37
rgb(37, 28, 55)
hsl(260, 32.5%, 16.3%)
hsv(260, 49.1%, 21.6%)
cmyk(32.7%, 49.1%, 0%, 78.4%)
lab(12.61, 11.62, -16.07)
lch(12.61, 19.83, 305.87)
oklch(25.1%, 0.0509, 298.03)
hwb(260, 11%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (16.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#212132 · ΔE 6.3
Deuteranopia
#222331 · ΔE 8.1
Tritanopia
#252d2c · ΔE 19.1
Achromatopsia
#212121 · ΔE 15.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #251c37;
bg-[#251c37]
Related colors
Frequently asked questions
#251c37 (#251c37) is rgb(37, 28, 55) in RGB.
No, #251c37 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 #251c37, or check how it holds up for accessibility.