Skip to content
Kolorvia
#281b40

Color #281b40

A moderately saturated very dark purple.

Conversions

HEX
#281b40
RGB
rgb(40, 27, 64)
HSL
hsl(261.1, 40.7%, 17.8%)
HSV / HSB
hsv(261.1, 57.8%, 25.1%)
CMYK
cmyk(37.5%, 57.8%, 0%, 74.9%)
LAB
lab(13.26, 16.2, -21.38)
LCH
lch(13.26, 26.82, 307.15)
OKLCH
oklch(25.9%, 0.0681, 297.66)
HWB
hwb(261.1, 10.6%, 74.9%)

Harmony colors

Complementary

#33401b

Analogous

#1b2040
#281b40
#3a1b40

Triadic

#281b40
#40281b
#1b4028

Split-complementary

#281b40
#403a1b
#20401b

Tetradic

#281b40
#401b33
#33401b
#1b4028

Square

#281b40
#401b20
#33401b
#1b403a

Shades

Color #281b40 mixed toward black.

#211635
#1b122b
#140d20
#0d0915
#07040b

Tints

Color #281b40 mixed toward white.

#473071
#6544a2
#8a6cc1
#b19dd6
#d8ceea

Tones

Color #281b40 mixed toward gray.

#291e3d
#2a213a
#2b2437
#2c2734
#2c2a30

Accessibility

Aa White text on this color
15.9:1
Aa Black text on this color
1.32:1

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

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd

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

Build something with this color

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