#5F1DF8

A medium, vivid purple closely aligning with Mediumblue.

About #5F1DF8

The hex code #5F1DF8 represents a beautifully specific shade of purple. It is closely associated with the named CSS color Mediumblue. In the RGB color space, it consists of 95 red, 29 green, and 248 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 62% cyan and 88% magenta inks. The HSL representation is 258.1° hue, 94.0% saturation, and 54.3% lightness.

From a UX and accessibility standpoint, contrast is paramount. 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#5F1DF8
RGB95, 29, 248
HSL258.1°, 94.0%, 54.3%
CMYK62%, 88%, 0%, 3%
HSV258.1°, 88.3%, 97.3%
LAB38.0, 74.7, -94.3
XYZ22.1, 10.1, 89.6
Decimal6233592

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.96:1
Text on #FFFFFF
AA
3.02:1
Text on #000000
AA Large
6.65:1
Text on #F8FAFC
AA
2.57:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #5F1DF8; }
.text-color { color: #5F1DF8; }
.border-color { border: 2px solid #5F1DF8; }

Similar Colors

Mediumblue
#0000CD