Skip to content
Kolorvia
#281f36

Color #281f36

A muted very dark purple.

Conversions

HEX
#281f36
RGB
rgb(40, 31, 54)
HSL
hsl(263.5, 27.1%, 16.7%)
HSV / HSB
hsv(263.5, 42.6%, 21.2%)
CMYK
cmyk(25.9%, 42.6%, 0%, 78.8%)
LAB
lab(13.81, 10.24, -13.44)
LCH
lch(13.81, 16.9, 307.3)
OKLCH
oklch(26.1%, 0.0437, 301.44)
HWB
hwb(263.5, 12.2%, 78.8%)

Harmony colors

Complementary

#2d361f

Analogous

#1f2236
#281f36
#341f36

Triadic

#281f36
#36281f
#1f3628

Split-complementary

#281f36
#36341f
#22361f

Tetradic

#281f36
#361f2d
#2d361f
#1f3628

Square

#281f36
#361f22
#2d361f
#1f3634

Shades

Color #281f36 mixed toward black.

#211a2d
#1b1524
#14101b
#0d0a12
#070509

Tints

Color #281f36 mixed toward white.

#493963
#6b5390
#8f78b2
#b4a5cb
#dad2e5

Tones

Color #281f36 mixed toward gray.

#292134
#292332
#292530
#2a272e
#2a292d

Accessibility

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

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

Under color vision deficiencies

Protanopia

#242431 · ΔE 6.9

Deuteranopia

#252630 · ΔE 8.8

Tritanopia

#282e2d · ΔE 17.2

Achromatopsia

#232323 · ΔE 13.9

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

Code

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

Related colors

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

Frequently asked questions

#281f36 (#281f36) is rgb(40, 31, 54) in RGB.

No, #281f36 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #281f36, 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.