Skip to content
Kolorvia
#331237

Color #331237

A moderately saturated very dark magenta.

Conversions

HEX
#331237
RGB
rgb(51, 18, 55)
HSL
hsl(293.5, 50.7%, 14.3%)
HSV / HSB
hsv(293.5, 67.3%, 21.6%)
CMYK
cmyk(7.3%, 67.3%, 0%, 78.4%)
LAB
lab(12.04, 23.15, -16.82)
LCH
lch(12.04, 28.62, 324)
OKLCH
oklch(25.2%, 0.0779, 323.25)
HWB
hwb(293.5, 7.1%, 78.4%)

Harmony colors

Complementary

#163712

Analogous

#201237
#331237
#371228

Triadic

#331237
#373312
#123733

Split-complementary

#331237
#283712
#123720

Tetradic

#331237
#371216
#163712
#123733

Square

#331237
#372012
#163712
#122837

Shades

Color #331237 mixed toward black.

#2a0f2e
#220c25
#19091b
#110612
#080309

Tints

Color #331237 mixed toward white.

#66246e
#9936a5
#bd5ac9
#d391db
#e9c8ed

Tones

Color #331237 mixed toward gray.

#311534
#2e1831
#2c1b2e
#291e2b
#272128

Accessibility

Aa White text on this color
16.37:1
Aa Black text on this color
1.28:1

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

Under color vision deficiencies

Protanopia

#282831 · ΔE 16.4

Deuteranopia

#2a2c2f · ΔE 19.5

Tritanopia

#322b2a · ΔE 18.8

Achromatopsia

#202020 · ΔE 20.2

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#331237 (#331237) is rgb(51, 18, 55) in RGB.

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