Color #2f104b
A moderately saturated very dark purple.
Conversions
#2f104b
rgb(47, 16, 75)
hsl(271.5, 64.8%, 17.8%)
hsv(271.5, 78.7%, 29.4%)
cmyk(37.3%, 78.7%, 0%, 70.6%)
lab(12.5, 28.34, -30.23)
lch(12.5, 41.44, 313.15)
oklch(25.8%, 0.1036, 303.9)
hwb(271.5, 6.3%, 70.6%)
Harmony colors
Accessibility
White text reads better on this background (16.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252542 · ΔE 10.6
Deuteranopia
#262840 · ΔE 12.5
Tritanopia
#2e3a38 · ΔE 24.2
Achromatopsia
#212121 · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f104b;
bg-[#2f104b]
Related colors
Frequently asked questions
#2f104b (#2f104b) is rgb(47, 16, 75) in RGB.
No, #2f104b 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 #2f104b, or check how it holds up for accessibility.