Skip to content
Kolorvia
#331a6a

Color #331a6a

A moderately saturated dark blue.

Conversions

HEX
#331a6a
RGB
rgb(51, 26, 106)
HSL
hsl(258.8, 60.6%, 25.9%)
HSV / HSB
hsv(258.8, 75.5%, 41.6%)
CMYK
cmyk(51.9%, 75.5%, 0%, 58.4%)
LAB
lab(17.84, 32.78, -42.32)
LCH
lch(17.84, 53.53, 307.76)
OKLCH
oklch(30.6%, 0.13, 291)
HWB
hwb(258.8, 10.2%, 58.4%)

Harmony colors

Complementary

#516a1a

Analogous

#1a296a
#331a6a
#5b1a6a

Triadic

#331a6a
#6a331a
#1a6a33

Split-complementary

#331a6a
#6a5b1a
#296a1a

Tetradic

#331a6a
#6a1a51
#516a1a
#1a6a33

Square

#331a6a
#6a1a29
#516a1a
#1a6a5b

Shades

Color #331a6a mixed toward black.

#2b1658
#221147
#1a0d35
#110923
#090412

Tints

Color #331a6a mixed toward white.

#4b269d
#6535cd
#8b67da
#b29ae6
#d8ccf3

Tones

Color #331a6a mixed toward gray.

#362163
#38275d
#3b2e56
#3d354f
#403b49

Accessibility

Aa White text on this color
14.03:1
Aa Black text on this color
1.5:1

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

Under color vision deficiencies

Protanopia

#2a2a5e · ΔE 7.1

Deuteranopia

#2b2d5b · ΔE 8.6

Tritanopia

#325350 · ΔE 29

Achromatopsia

#2c2c2c · ΔE 24.7

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Blue Violet #8a2be2

Frequently asked questions

#331a6a (#331a6a) is rgb(51, 26, 106) in RGB.

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