Skip to content
Kolorvia
#281f38

Color #281f38

A muted very dark purple.

Conversions

HEX
#281f38
RGB
rgb(40, 31, 56)
HSL
hsl(261.6, 28.7%, 17.1%)
HSV / HSB
hsv(261.6, 44.6%, 22%)
CMYK
cmyk(28.6%, 44.6%, 0%, 78%)
LAB
lab(13.92, 10.84, -14.68)
LCH
lch(13.92, 18.25, 306.44)
OKLCH
oklch(26.2%, 0.0471, 299.67)
HWB
hwb(261.6, 12.2%, 78%)

Harmony colors

Complementary

#2f381f

Analogous

#1f2338
#281f38
#351f38

Triadic

#281f38
#38281f
#1f3828

Split-complementary

#281f38
#38351f
#23381f

Tetradic

#281f38
#381f2f
#2f381f
#1f3828

Square

#281f38
#381f23
#2f381f
#1f3835

Shades

Color #281f38 mixed toward black.

#211a2f
#1b1525
#14101c
#0d0a13
#070509

Tints

Color #281f38 mixed toward white.

#493865
#695193
#8d77b4
#b3a4cd
#d9d2e6

Tones

Color #281f38 mixed toward gray.

#292136
#292334
#2a2532
#2a2730
#2b2a2e

Accessibility

Aa White text on this color
15.63:1
Aa Black text on this color
1.34:1

White text reads better on this background (15.63:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#242433 · ΔE 6.6

Deuteranopia

#252632 · ΔE 8.5

Tritanopia

#282f2e · ΔE 18.1

Achromatopsia

#232323 · ΔE 14.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #281f38;
Tailwind (arbitrary value)
bg-[#281f38]

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee

Frequently asked questions

#281f38 (#281f38) is rgb(40, 31, 56) in RGB.

No, #281f38 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #281f38, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.