#5E196A#5E196A

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

Color values

HEX#5E196A
RGBrgb(94, 25, 106)
HSLhsl(291, 62%, 26%)
HSVhsv(291, 76%, 42%)
CMYKcmyk(11.3%, 76.4%, 0%, 58.4%)
CIE-LABlab(24.05, 42.44, -31.96)
CIE-LCHlch(24.05, 53.13, 323.02°)
OKLaboklab(36.39% 0.1115 -0.0894)
OKLCHoklch(36.39% 0.143 321.3)
XYZxyz(7.5650, 4.1160, 14.0289)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E196A #256A19
analogous
#35196A #5E196A #6A194D
triadic
#5E196A #6A5E19 #196A5E
tetradic
#5E196A #6A3519 #256A19 #194D6A
square
#5E196A #6A3519 #256A19 #194D6A
split-complementary
#5E196A #4D6A19 #196A35
monochromatic
#160619 #320D38 #5E196A #8A259C #B630CD

Accessibility & contrast

On white

11.52
#5E196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E196A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E196A#FFFFFF#000000##FFFFFF
##5E196A1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#233C68
Tritanopia (blue-blind)
#5F2840
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e196a;
/* rgb */ color: rgb(94, 25, 106);
/* oklch */ color: oklch(36.4% 0.143 321.3);
Tailwind
colors: {
  custom: {
    50: '#8f5e95',
    500: '#5e196a',
    950: '#000000',
  },
}
SCSS
$custom: #5e196a;
$custom-light: #8f5e95;
$custom-dark: #000000;
JSON
{
  "hex": "#5e196a",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 291.111,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36389,
    "c": 0.14295,
    "h": 321.3
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#5E196A
secondary
#4DA03F
accent
#E5435B
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E196A

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

Preview Lab → · Contrast checker → · Palette generator →

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