Color #38255c
A moderately saturated dark purple.
Conversions
#38255c
rgb(56, 37, 92)
hsl(260.7, 42.6%, 25.3%)
hsv(260.7, 59.8%, 36.1%)
cmyk(39.1%, 59.8%, 0%, 63.9%)
lab(19.79, 22.84, -29.92)
lch(19.79, 37.64, 307.36)
oklch(31.8%, 0.0948, 296.57)
hwb(260.7, 14.5%, 63.9%)
Harmony colors
Accessibility
White text reads better on this background (13.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313153 · ΔE 7.3
Deuteranopia
#323350 · ΔE 8.9
Tritanopia
#374a48 · ΔE 25
Achromatopsia
#303030 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #38255c;
bg-[#38255c]
Related colors
Frequently asked questions
#38255c (#38255c) is rgb(56, 37, 92) in RGB.
No, #38255c 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 #38255c, or check how it holds up for accessibility.