Skip to content
Kolorvia
#1d0c3a

Color #1d0c3a

A moderately saturated very dark purple.

Conversions

HEX
#1d0c3a
RGB
rgb(29, 12, 58)
HSL
hsl(262.2, 65.7%, 13.7%)
HSV / HSB
hsv(262.2, 79.3%, 22.7%)
CMYK
cmyk(50%, 79.3%, 0%, 77.3%)
LAB
lab(7.49, 21.35, -26.47)
LCH
lch(7.49, 34.01, 308.89)
OKLCH
oklch(21.2%, 0.0837, 295.25)
HWB
hwb(262.2, 4.7%, 77.3%)

Harmony colors

Complementary

#293a0c

Analogous

#0c123a
#1d0c3a
#340c3a

Triadic

#1d0c3a
#3a1d0c
#0c3a1d

Split-complementary

#1d0c3a
#3a340c
#123a0c

Tetradic

#1d0c3a
#3a0c29
#293a0c
#0c3a1d

Square

#1d0c3a
#3a0c12
#293a0c
#0c3a34

Shades

Color #1d0c3a mixed toward black.

#180a30
#130827
#0e061d
#0a0413
#05020a

Tints

Color #1d0c3a mixed toward white.

#3b1977
#5a25b3
#7e49d9
#a985e6
#d4c2f2

Tones

Color #1d0c3a mixed toward gray.

#1e1036
#1f1432
#20172e
#211b2b
#221f27

Accessibility

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

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

Under color vision deficiencies

Protanopia

#171733 · ΔE 7.2

Deuteranopia

#181931 · ΔE 8.8

Tritanopia

#1c2c2b · ΔE 23.7

Achromatopsia

#171717 · ΔE 20.9

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

Code

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

Related colors

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

Frequently asked questions

#1d0c3a (#1d0c3a) is rgb(29, 12, 58) in RGB.

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