#5D196C#5D196C

#5D196C is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.144 H 319.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#5D196C
RGBrgb(93, 25, 108)
HSLhsl(289, 62%, 26%)
HSVhsv(289, 77%, 42%)
CMYKcmyk(13.9%, 76.9%, 0%, 57.6%)
CIE-LABlab(24.02, 42.62, -33.32)
CIE-LCHlch(24.02, 54.10, 321.98°)
OKLaboklab(36.37% 0.1101 -0.0934)
OKLCHoklch(36.37% 0.144 319.7)
XYZxyz(7.5683, 4.1055, 14.5782)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D196C #286C19
analogous
#33196C #5D196C #6C1951
triadic
#5D196C #6C5D19 #196C5D
tetradic
#5D196C #6C3319 #286C19 #19516C
square
#5D196C #6C3319 #286C19 #19516C
split-complementary
#5D196C #516C19 #196C33
monochromatic
#150619 #320D3A #5D196C #88259E #B230CF

Accessibility & contrast

On white

11.53
#5D196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5D196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D196C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D196C#FFFFFF#000000##FFFFFF
##5D196C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#203B6A
Tritanopia (blue-blind)
#5D2941
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d196c;
/* rgb */ color: rgb(93, 25, 108);
/* oklch */ color: oklch(36.4% 0.144 319.7);
Tailwind
colors: {
  custom: {
    50: '#8e5d96',
    500: '#5d196c',
    950: '#000000',
  },
}
SCSS
$custom: #5d196c;
$custom-light: #8e5d96;
$custom-dark: #000000;
JSON
{
  "hex": "#5d196c",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 289.157,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.14437,
    "h": 319.7
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#5D196C
secondary
#51A13F
accent
#E54260
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5D196C

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

Preview Lab → · Contrast checker → · Palette generator →

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