#5D2191#5D2191

#5D2191 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.172 H 303.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#5D2191
RGBrgb(93, 33, 145)
HSLhsl(272, 63%, 35%)
HSVhsv(272, 77%, 57%)
CMYKcmyk(35.9%, 77.2%, 0%, 43.1%)
CIE-LABlab(28.00, 47.68, -50.24)
CIE-LCHlch(28.00, 69.27, 313.50°)
OKLaboklab(40.09% 0.0956 -0.1432)
OKLCHoklch(40.09% 0.172 303.7)
XYZxyz(10.1677, 5.4592, 27.3006)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2191 #559121
analogous
#252191 #5D2191 #91218D
triadic
#5D2191 #915D21 #21915D
tetradic
#5D2191 #912521 #559121 #218D91
square
#5D2191 #912521 #559121 #218D91
split-complementary
#5D2191 #8D9121 #219125
monochromatic
#1D0A2D #3D165F #5D2191 #7D2CC3 #9B54D8

Accessibility & contrast

On white

10.04
#5D2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5D2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2191
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2191#FFFFFF#000000##FFFFFF
##5D21911.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#533D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5d2191;
/* rgb */ color: rgb(93, 33, 145);
/* oklch */ color: oklch(40.1% 0.172 303.7);
Tailwind
colors: {
  custom: {
    50: '#9063b2',
    500: '#5d2191',
    950: '#000000',
  },
}
SCSS
$custom: #5d2191;
$custom-light: #9063b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2191",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 272.143,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40086,
    "c": 0.17218,
    "h": 303.7
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#5D2191
secondary
#83BC52
accent
#E6428E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2191

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5D2191 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva