Skip to content
Kolorvia
#31124f

Color #31124f

A moderately saturated very dark purple.

Conversions

HEX
#31124f
RGB
rgb(49, 18, 79)
HSL
hsl(270.5, 62.9%, 19%)
HSV / HSB
hsv(270.5, 77.2%, 31%)
CMYK
cmyk(38%, 77.2%, 0%, 69%)
LAB
lab(13.53, 28.84, -31.29)
LCH
lch(13.53, 42.55, 312.67)
OKLCH
oklch(26.7%, 0.1063, 303.02)
HWB
hwb(270.5, 7.1%, 69%)

Harmony colors

Complementary

#304f12

Analogous

#12124f
#31124f
#4f124e

Triadic

#31124f
#4f3112
#124f31

Split-complementary

#31124f
#4e4f12
#124f12

Tetradic

#31124f
#4f1230
#304f12
#124f31

Square

#31124f
#4f1212
#304f12
#124e4f

Shades

Color #31124f mixed toward black.

#290f42
#210c35
#180927
#10061a
#08030d

Tints

Color #31124f mixed toward white.

#541f87
#772cbf
#9957d9
#bb8fe5
#ddc7f2

Tones

Color #31124f mixed toward gray.

#31174a
#311c45
#312140
#31263b
#312b36

Accessibility

Aa White text on this color
15.79:1
Aa Black text on this color
1.33:1

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

Under color vision deficiencies

Protanopia

#272646 · ΔE 9.9

Deuteranopia

#282a43 · ΔE 12.4

Tritanopia

#303d3b · ΔE 24.3

Achromatopsia

#232323 · ΔE 23

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

Code

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

Related colors

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

Frequently asked questions

#31124f (#31124f) is rgb(49, 18, 79) in RGB.

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