#331D42

A very dark, moderate purple closely aligning with Darkslateblue.

About #331D42

The hex code #331D42 represents a beautifully specific shade of purple. Its closest recognized web color is Darkslateblue. This translates to an RGB value of rgb(51, 29, 66).

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 23% cyan, 56% magenta, 0% yellow, and 74% black. This makes it a relatively dark color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#331D42
RGB51, 29, 66
HSL275.7°, 38.9%, 18.6%
CMYK23%, 56%, 0%, 74%
HSV275.7°, 56.1%, 25.9%
LAB15.4, 19.0, -19.4
XYZ2.8, 2.0, 5.4
Decimal3349826

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

15.05:1
Text on #FFFFFF
AAA
1.40:1
Text on #000000
FAIL
14.39:1
Text on #F8FAFC
AAA
1.19:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #331D42; }
.text-color { color: #331D42; }
.border-color { border: 2px solid #331D42; }

Similar Colors

Darkslateblue
#483D8B