Color #301b35
A muted very dark purple.
Conversions
#301b35
rgb(48, 27, 53)
hsl(288.5, 32.5%, 15.7%)
hsv(288.5, 49.1%, 20.8%)
cmyk(9.4%, 49.1%, 0%, 79.2%)
lab(13.65, 15.85, -12.9)
lch(13.65, 20.44, 320.86)
oklch(26.2%, 0.0549, 319.73)
hwb(288.5, 10.6%, 79.2%)
Harmony colors
Accessibility
White text reads better on this background (15.74:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282830 · ΔE 13.1
Deuteranopia
#292b2f · ΔE 16
Tritanopia
#2f2c2b · ΔE 16.4
Achromatopsia
#232323 · ΔE 16.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #301b35;
bg-[#301b35]
Related colors
Frequently asked questions
#301b35 (#301b35) is rgb(48, 27, 53) in RGB.
No, #301b35 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 #301b35, or check how it holds up for accessibility.