Color #302545
A muted dark purple.
Conversions
#302545
rgb(48, 37, 69)
hsl(260.6, 30.2%, 20.8%)
hsv(260.6, 46.4%, 27.1%)
cmyk(30.4%, 46.4%, 0%, 72.9%)
lab(17.37, 13.36, -18.28)
lch(17.37, 22.64, 306.16)
oklch(29.3%, 0.0582, 298.55)
hwb(260.6, 14.5%, 72.9%)
Harmony colors
Accessibility
White text reads better on this background (14.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c3f · ΔE 7.2
Deuteranopia
#2c2d3d · ΔE 8.8
Tritanopia
#303a38 · ΔE 21.2
Achromatopsia
#2b2b2b · ΔE 16.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302545;
bg-[#302545]
Related colors
Frequently asked questions
#302545 (#302545) is rgb(48, 37, 69) in RGB.
No, #302545 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 #302545, or check how it holds up for accessibility.