Skip to content
Kolorvia
#1b122c

Color #1b122c

A moderately saturated very dark purple.

Conversions

HEX
#1b122c
RGB
rgb(27, 18, 44)
HSL
hsl(260.8, 41.9%, 12.2%)
HSV / HSB
hsv(260.8, 59.1%, 17.3%)
CMYK
cmyk(38.6%, 59.1%, 0%, 82.7%)
LAB
lab(7.66, 11.91, -15.96)
LCH
lch(7.66, 19.91, 306.73)
OKLCH
oklch(20.9%, 0.0508, 297.83)
HWB
hwb(260.8, 7.1%, 82.7%)

Harmony colors

Complementary

#232c12

Analogous

#12162c
#1b122c
#28122c

Triadic

#1b122c
#2c1b12
#122c1b

Split-complementary

#1b122c
#2c2812
#162c12

Tetradic

#1b122c
#2c1223
#232c12
#122c1b

Square

#1b122c
#2c1216
#232c12
#122c28

Shades

Color #1b122c mixed toward black.

#170f25
#120c1d
#0e0916
#09060f
#050307

Tints

Color #1b122c mixed toward white.

#3c2861
#5c3d96
#8160be
#ab95d4
#d5cae9

Tones

Color #1b122c mixed toward gray.

#1c142a
#1c1628
#1d1926
#1e1b23
#1e1d21

Accessibility

Aa White text on this color
17.96:1
Aa Black text on this color
1.17:1

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

Under color vision deficiencies

Protanopia

#171727 · ΔE 6.5

Deuteranopia

#181926 · ΔE 8.4

Tritanopia

#1b2322 · ΔE 19.3

Achromatopsia

#171717 · ΔE 15.5

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

Code

CSS
background-color: #1b122c;
Tailwind (arbitrary value)
bg-[#1b122c]

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

#1b122c (#1b122c) is rgb(27, 18, 44) in RGB.

No, #1b122c 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 #1b122c, 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.