Skip to content
Kolorvia
#240d31

Color #240d31

A moderately saturated very dark purple.

Conversions

HEX
#240d31
RGB
rgb(36, 13, 49)
HSL
hsl(278.3, 58.1%, 12.2%)
HSV / HSB
hsv(278.3, 73.5%, 19.2%)
CMYK
cmyk(26.5%, 73.5%, 0%, 80.8%)
LAB
lab(7.99, 19.9, -19.05)
LCH
lch(7.99, 27.55, 316.25)
OKLCH
oklch(21.5%, 0.0714, 311.31)
HWB
hwb(278.3, 5.1%, 80.8%)

Harmony colors

Complementary

#1a310d

Analogous

#120d31
#240d31
#310d2c

Triadic

#240d31
#31240d
#0d3124

Split-complementary

#240d31
#2c310d
#0d3112

Tetradic

#240d31
#310d1a
#1a310d
#0d3124

Square

#240d31
#31120d
#1a310d
#0d2c31

Shades

Color #240d31 mixed toward black.

#1e0b29
#180921
#120719
#0c0410
#060208

Tints

Color #240d31 mixed toward white.

#4f1d6c
#7b2ca7
#a14ed0
#c089e0
#e0c4ef

Tones

Color #240d31 mixed toward gray.

#23102e
#22132b
#221628
#211925
#201c22

Accessibility

Aa White text on this color
17.84:1
Aa Black text on this color
1.18:1

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

Under color vision deficiencies

Protanopia

#1c1c2b · ΔE 12.1

Deuteranopia

#1d1f2a · ΔE 14.7

Tritanopia

#232624 · ΔE 21.5

Achromatopsia

#171717 · ΔE 19.4

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

Code

CSS
background-color: #240d31;
Tailwind (arbitrary value)
bg-[#240d31]

Related colors

Dark Orchid #9932cc
Indigo #4b0082
Dark Violet #9400d3
Blue Violet #8a2be2
Rebecca Purple #663399
Medium Orchid #ba55d3

Frequently asked questions

#240d31 (#240d31) is rgb(36, 13, 49) in RGB.

No, #240d31 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 #240d31, 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.