Skip to content
Kolorvia
#311954

Color #311954

A moderately saturated dark purple.

Conversions

HEX
#311954
RGB
rgb(49, 25, 84)
HSL
hsl(264.4, 54.1%, 21.4%)
HSV / HSB
hsv(264.4, 70.2%, 32.9%)
CMYK
cmyk(41.7%, 70.2%, 0%, 67.1%)
LAB
lab(15.43, 26.23, -31.63)
LCH
lch(15.43, 41.09, 309.67)
OKLCH
oklch(28.2%, 0.1023, 298.24)
HWB
hwb(264.4, 9.8%, 67.1%)

Harmony colors

Complementary

#3c5419

Analogous

#191f54
#311954
#4f1954

Triadic

#311954
#543119
#195431

Split-complementary

#311954
#544f19
#1f5419

Tetradic

#311954
#54193c
#3c5419
#195431

Square

#311954
#54191f
#3c5419
#19544f

Shades

Color #311954 mixed toward black.

#291546
#211138
#190d2a
#10081c
#08040e

Tints

Color #311954 mixed toward white.

#4f2888
#6d38bb
#9165d1
#b598e0
#daccf0

Tones

Color #311954 mixed toward gray.

#321e4f
#33234a
#342845
#352d40
#36323b

Accessibility

Aa White text on this color
15.03:1
Aa Black text on this color
1.4:1

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

Under color vision deficiencies

Protanopia

#28284b · ΔE 8.2

Deuteranopia

#2a2b48 · ΔE 10

Tritanopia

#304240 · ΔE 25

Achromatopsia

#272727 · ΔE 22.6

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Orchid #9932cc
Dark Slate Blue #483d8b

Frequently asked questions

#311954 (#311954) is rgb(49, 25, 84) in RGB.

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