Skip to content
Kolorvia
#2a2138

Color #2a2138

A muted very dark purple.

Conversions

HEX
#2a2138
RGB
rgb(42, 33, 56)
HSL
hsl(263.5, 25.8%, 17.5%)
HSV / HSB
hsv(263.5, 41.1%, 22%)
CMYK
cmyk(25%, 41.1%, 0%, 78%)
LAB
lab(14.76, 10.15, -13.36)
LCH
lch(14.76, 16.78, 307.23)
OKLCH
oklch(26.9%, 0.0434, 301.53)
HWB
hwb(263.5, 12.9%, 78%)

Harmony colors

Complementary

#2f3821

Analogous

#212438
#2a2138
#362138

Triadic

#2a2138
#382a21
#21382a

Split-complementary

#2a2138
#383621
#243821

Tetradic

#2a2138
#38212f
#2f3821
#21382a

Square

#2a2138
#382124
#2f3821
#213836

Shades

Color #2a2138 mixed toward black.

#231c2f
#1c1625
#15111c
#0e0b13
#070609

Tints

Color #2a2138 mixed toward white.

#4b3b64
#6c5590
#907bb1
#b5a7cb
#dad3e5

Tones

Color #2a2138 mixed toward gray.

#2b2336
#2b2534
#2b2732
#2c2930
#2c2b2f

Accessibility

Aa White text on this color
15.29:1
Aa Black text on this color
1.37:1

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

Under color vision deficiencies

Protanopia

#262633 · ΔE 6.9

Deuteranopia

#272832 · ΔE 8.8

Tritanopia

#2a302f · ΔE 17.1

Achromatopsia

#252525 · ΔE 13.9

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

Code

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

Related colors

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

Frequently asked questions

#2a2138 (#2a2138) is rgb(42, 33, 56) in RGB.

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