Skip to content
Kolorvia
#311540

Color #311540

A moderately saturated very dark purple.

Conversions

HEX
#311540
RGB
rgb(49, 21, 64)
HSL
hsl(279.1, 50.6%, 16.7%)
HSV / HSB
hsv(279.1, 67.2%, 25.1%)
CMYK
cmyk(23.4%, 67.2%, 0%, 74.9%)
LAB
lab(12.98, 22.98, -21.75)
LCH
lch(12.98, 31.64, 316.58)
OKLCH
oklch(26%, 0.0823, 312.1)
HWB
hwb(279.1, 8.2%, 74.9%)

Harmony colors

Complementary

#244015

Analogous

#1c1540
#311540
#40153a

Triadic

#311540
#403115
#154031

Split-complementary

#311540
#3a4015
#15401c

Tetradic

#311540
#401524
#244015
#154031

Square

#311540
#401c15
#244015
#153a40

Shades

Color #311540 mixed toward black.

#291235
#210e2b
#190b20
#100715
#08040b

Tints

Color #311540 mixed toward white.

#5a2775
#8338ab
#a55fcb
#c394dc
#e1caee

Tones

Color #311540 mixed toward gray.

#30193d
#2f1c39
#2e2035
#2d2332
#2c272e

Accessibility

Aa White text on this color
16.01:1
Aa Black text on this color
1.31:1

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

Under color vision deficiencies

Protanopia

#272739 · ΔE 12.6

Deuteranopia

#292b37 · ΔE 15.8

Tritanopia

#303231 · ΔE 21.6

Achromatopsia

#212121 · ΔE 20.7

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

Code

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

Related colors

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

Frequently asked questions

#311540 (#311540) is rgb(49, 21, 64) in RGB.

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