Color #231738
A moderately saturated very dark purple.
Conversions
#231738
rgb(35, 23, 56)
hsl(261.8, 41.8%, 15.5%)
hsv(261.8, 58.9%, 22%)
cmyk(37.5%, 58.9%, 0%, 78%)
lab(10.96, 14.88, -19.4)
lch(10.96, 24.45, 307.49)
oklch(23.9%, 0.0621, 298.34)
hwb(261.8, 9%, 78%)
Harmony colors
Accessibility
White text reads better on this background (16.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e32 · ΔE 7.2
Deuteranopia
#1f2031 · ΔE 8.9
Tritanopia
#222d2c · ΔE 21.7
Achromatopsia
#1d1d1d · ΔE 17.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #231738;
bg-[#231738]
Related colors
Frequently asked questions
#231738 (#231738) is rgb(35, 23, 56) in RGB.
No, #231738 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 #231738, or check how it holds up for accessibility.