#5D2192#5D2192

#5D2192 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.173 H 303.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#5D2192
RGBrgb(93, 33, 146)
HSLhsl(272, 63%, 35%)
HSVhsv(272, 77%, 57%)
CMYKcmyk(36.3%, 77.4%, 0%, 42.7%)
CIE-LABlab(28.09, 47.92, -50.73)
CIE-LCHlch(28.09, 69.78, 313.37°)
OKLaboklab(40.17% 0.0954 -0.1446)
OKLCHoklch(40.17% 0.173 303.4)
XYZxyz(10.2451, 5.4902, 27.7085)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2192 #569221
analogous
#242192 #5D2192 #92218F
triadic
#5D2192 #925D21 #21925D
tetradic
#5D2192 #922421 #569221 #218F92
square
#5D2192 #922421 #569221 #218F92
split-complementary
#5D2192 #8F9221 #219224
monochromatic
#1D0A2E #3D1660 #5D2192 #7D2CC4 #9B55D9

Accessibility & contrast

On white

10.01
#5D2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5D2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2192
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2192#FFFFFF#000000##FFFFFF
##5D21921.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#523E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5d2192;
/* rgb */ color: rgb(93, 33, 146);
/* oklch */ color: oklch(40.2% 0.173 303.4);
Tailwind
colors: {
  custom: {
    50: '#9063b3',
    500: '#5d2192',
    950: '#000000',
  },
}
SCSS
$custom: #5d2192;
$custom-light: #9063b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2192",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 271.858,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4017,
    "c": 0.17322,
    "h": 303.4
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#5D2192
secondary
#84BC53
accent
#E6428F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2192

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

Preview Lab → · Contrast checker → · Palette generator →

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