Color #1b102f
A moderately saturated very dark purple.
Conversions
#1b102f
rgb(27, 16, 47)
hsl(261.3, 49.2%, 12.4%)
hsv(261.3, 66%, 18.4%)
cmyk(42.6%, 66%, 0%, 81.6%)
lab(7.31, 14.34, -18.74)
lch(7.31, 23.6, 307.42)
oklch(20.7%, 0.0598, 297.25)
hwb(261.3, 6.3%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (18.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#17172a · ΔE 6.9
Deuteranopia
#171828 · ΔE 8.6
Tritanopia
#1b2524 · ΔE 21.2
Achromatopsia
#161616 · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b102f;
bg-[#1b102f]
Related colors
Frequently asked questions
#1b102f (#1b102f) is rgb(27, 16, 47) in RGB.
No, #1b102f 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 #1b102f, or check how it holds up for accessibility.