Color #281b40
A moderately saturated very dark purple.
Conversions
#281b40
rgb(40, 27, 64)
hsl(261.1, 40.7%, 17.8%)
hsv(261.1, 57.8%, 25.1%)
cmyk(37.5%, 57.8%, 0%, 74.9%)
lab(13.26, 16.2, -21.38)
lch(13.26, 26.82, 307.15)
oklch(25.9%, 0.0681, 297.66)
hwb(261.1, 10.6%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (15.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#232339 · ΔE 7.4
Deuteranopia
#242538 · ΔE 9
Tritanopia
#273432 · ΔE 23.1
Achromatopsia
#222222 · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281b40;
bg-[#281b40]
Related colors
Frequently asked questions
#281b40 (#281b40) is rgb(40, 27, 64) in RGB.
No, #281b40 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 #281b40, or check how it holds up for accessibility.