#5D2091#5D2091

#5D2091 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.173 H 303.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#5D2091
RGBrgb(93, 32, 145)
HSLhsl(272, 64%, 35%)
HSVhsv(272, 78%, 57%)
CMYKcmyk(35.9%, 77.9%, 0%, 43.1%)
CIE-LABlab(27.86, 48.10, -50.48)
CIE-LCHlch(27.86, 69.73, 313.62°)
OKLaboklab(39.98% 0.0965 -0.1439)
OKLCHoklch(39.98% 0.173 303.9)
XYZxyz(10.1404, 5.4045, 27.2915)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2091 #549120
analogous
#242091 #5D2091 #91208D
triadic
#5D2091 #915D20 #20915D
tetradic
#5D2091 #912420 #549120 #208D91
square
#5D2091 #912420 #549120 #208D91
split-complementary
#5D2091 #8D9120 #209124
monochromatic
#1D0A2D #3D155F #5D2091 #7D2BC3 #9B52D9

Accessibility & contrast

On white

10.09
#5D2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5D2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2091
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2091#FFFFFF#000000##FFFFFF
##5D20911.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2091;
/* rgb */ color: rgb(93, 32, 145);
/* oklch */ color: oklch(40.0% 0.173 303.9);
Tailwind
colors: {
  custom: {
    50: '#9063b2',
    500: '#5d2091',
    950: '#000000',
  },
}
SCSS
$custom: #5d2091;
$custom-light: #9063b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2091",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 272.389,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.17327,
    "h": 303.9
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#5D2091
secondary
#82BC51
accent
#E7418D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2091

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

Preview Lab → · Contrast checker → · Palette generator →

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