Skip to content
Kolorvia
#240c26

Color #240c26

A moderately saturated very dark magenta.

Conversions

HEX
#240c26
RGB
rgb(36, 12, 38)
HSL
hsl(295.4, 52%, 9.8%)
HSV / HSB
hsv(295.4, 68.4%, 14.9%)
CMYK
cmyk(5.3%, 68.4%, 0%, 85.1%)
LAB
lab(7.03, 17.45, -12.35)
LCH
lch(7.03, 21.38, 324.71)
OKLCH
oklch(20.5%, 0.059, 324.45)
HWB
hwb(295.4, 4.7%, 85.1%)

Harmony colors

Complementary

#0e260c

Analogous

#170c26
#240c26
#260c1b

Triadic

#240c26
#26240c
#0c2624

Split-complementary

#240c26
#1b260c
#0c2617

Tetradic

#240c26
#260c0e
#0e260c
#0c2624

Square

#240c26
#26170c
#0e260c
#0c1b26

Shades

Color #240c26 mixed toward black.

#1e0a20
#180819
#120613
#0c040d
#060206

Tints

Color #240c26 mixed toward white.

#5b1e60
#92319b
#bf50c8
#d48ada
#eac5ed

Tones

Color #240c26 mixed toward gray.

#220e24
#201022
#1e121f
#1d151d
#1b171b

Accessibility

Aa White text on this color
18.17:1
Aa Black text on this color
1.16:1

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

Under color vision deficiencies

Protanopia

#1c1c21 · ΔE 15.1

Deuteranopia

#1d1f20 · ΔE 17.8

Tritanopia

#231d1c · ΔE 15.8

Achromatopsia

#161616 · ΔE 17.4

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

Code

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

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

#240c26 (#240c26) is rgb(36, 12, 38) in RGB.

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