Color #231728
A muted very dark purple.
Conversions
#231728
rgb(35, 23, 40)
hsl(282.4, 27%, 12.4%)
hsv(282.4, 42.5%, 15.7%)
cmyk(12.5%, 42.5%, 0%, 84.3%)
lab(9.98, 10.07, -9.27)
lch(9.98, 13.69, 317.37)
oklch(22.8%, 0.0363, 315.67)
hwb(282.4, 9%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (17.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e25 · ΔE 9
Deuteranopia
#1f2024 · ΔE 11.1
Tritanopia
#222221 · ΔE 13.7
Achromatopsia
#1b1b1b · ΔE 12.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #231728;
bg-[#231728]
Related colors
Frequently asked questions
#231728 (#231728) is rgb(35, 23, 40) in RGB.
No, #231728 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 #231728, or check how it holds up for accessibility.