Color #150e21
A moderately saturated very dark purple.
Conversions
#150e21
rgb(21, 14, 33)
hsl(262.1, 40.4%, 9.2%)
hsv(262.1, 57.6%, 12.9%)
cmyk(36.4%, 57.6%, 0%, 87.1%)
lab(5.27, 7.63, -11.4)
lch(5.27, 13.72, 303.79)
oklch(18.4%, 0.0389, 299.6)
hwb(262.1, 5.5%, 87.1%)
Harmony colors
Accessibility
White text reads better on this background (18.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#12121d · ΔE 5.5
Deuteranopia
#13131d · ΔE 5.9
Tritanopia
#151a1a · ΔE 14.2
Achromatopsia
#121212 · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #150e21;
bg-[#150e21]
Related colors
Frequently asked questions
#150e21 (#150e21) is rgb(21, 14, 33) in RGB.
No, #150e21 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 #150e21, or check how it holds up for accessibility.