Skip to content
Kolorvia
#2a212e

Color #2a212e

A muted very dark purple.

Conversions

HEX
#2a212e
RGB
rgb(42, 33, 46)
HSL
hsl(281.5, 16.5%, 15.5%)
HSV / HSB
hsv(281.5, 28.3%, 18%)
CMYK
cmyk(8.7%, 28.3%, 0%, 82%)
LAB
lab(14.27, 7.37, -7)
LCH
lch(14.27, 10.16, 316.47)
OKLCH
oklch(26.4%, 0.027, 315.3)
HWB
hwb(281.5, 12.9%, 82%)

Harmony colors

Complementary

#252e21

Analogous

#24212e
#2a212e
#2e212c

Triadic

#2a212e
#2e2a21
#212e2a

Split-complementary

#2a212e
#2c2e21
#212e24

Tetradic

#2a212e
#2e2125
#252e21
#212e2a

Square

#2a212e
#2e2421
#252e21
#212c2e

Shades

Color #2a212e mixed toward black.

#231c26
#1c161f
#151117
#0e0b0f
#070608

Tints

Color #2a212e mixed toward white.

#503f58
#765d82
#9a81a5
#bcabc3
#ddd5e1

Tones

Color #2a212e mixed toward gray.

#2a222d
#29232c
#29242b
#28252a
#282629

Accessibility

Aa White text on this color
15.49:1
Aa Black text on this color
1.36:1

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

Under color vision deficiencies

Protanopia

#26262b · ΔE 7.4

Deuteranopia

#27282b · ΔE 9.1

Tritanopia

#2a2928 · ΔE 10.5

Achromatopsia

#242424 · ΔE 10.1

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

Code

CSS
background-color: #2a212e;
Tailwind (arbitrary value)
bg-[#2a212e]

Related colors

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

Frequently asked questions

#2a212e (#2a212e) is rgb(42, 33, 46) in RGB.

No, #2a212e 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 #2a212e, 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.