#5E196D#5E196D

#5E196D is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.6% C 0.146 H 319.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#5E196D
RGBrgb(94, 25, 109)
HSLhsl(289, 63%, 26%)
HSVhsv(289, 77%, 43%)
CMYKcmyk(13.8%, 77.1%, 0%, 57.3%)
CIE-LABlab(24.26, 43.05, -33.58)
CIE-LCHlch(24.26, 54.60, 322.05°)
OKLaboklab(36.6% 0.1113 -0.0941)
OKLCHoklch(36.6% 0.146 319.8)
XYZxyz(7.7237, 4.1795, 14.8649)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E196D #286D19
analogous
#34196D #5E196D #6D1952
triadic
#5E196D #6D5E19 #196D5E
tetradic
#5E196D #6D3419 #286D19 #19526D
square
#5E196D #6D3419 #286D19 #19526D
split-complementary
#5E196D #526D19 #196D34
monochromatic
#150619 #330E3B #5E196D #89249F #B331D0

Accessibility & contrast

On white

11.44
#5E196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5E196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E196D
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E196D#FFFFFF#000000##FFFFFF
##5E196D1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#203C6B
Tritanopia (blue-blind)
#5E2A42
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e196d;
/* rgb */ color: rgb(94, 25, 109);
/* oklch */ color: oklch(36.6% 0.146 319.8);
Tailwind
colors: {
  custom: {
    50: '#8f5e97',
    500: '#5e196d',
    950: '#000000',
  },
}
SCSS
$custom: #5e196d;
$custom-light: #8f5e97;
$custom-dark: #000000;
JSON
{
  "hex": "#5e196d",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 289.286,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.366,
    "c": 0.14576,
    "h": 319.8
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#5E196D
secondary
#51A23F
accent
#E6425F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E196D

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

Preview Lab → · Contrast checker → · Palette generator →

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