Color #302536
A muted very dark purple.
Conversions
#302536
rgb(48, 37, 54)
hsl(278.8, 18.7%, 17.8%)
hsv(278.8, 31.5%, 21.2%)
cmyk(11.1%, 31.5%, 0%, 78.8%)
lab(16.59, 9.13, -9.07)
lch(16.59, 12.87, 315.19)
oklch(28.4%, 0.034, 313.45)
hwb(278.8, 14.5%, 78.8%)
Harmony colors
Accessibility
White text reads better on this background (14.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c32 · ΔE 8.9
Deuteranopia
#2c2d32 · ΔE 9.9
Tritanopia
#302f2f · ΔE 11.7
Achromatopsia
#292929 · ΔE 12
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302536;
bg-[#302536]
Related colors
Frequently asked questions
#302536 (#302536) is rgb(48, 37, 54) in RGB.
No, #302536 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 #302536, or check how it holds up for accessibility.