#5E196B#5E196B

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

Color values

HEX#5E196B
RGBrgb(94, 25, 107)
HSLhsl(290, 62%, 26%)
HSVhsv(290, 77%, 42%)
CMYKcmyk(12.1%, 76.6%, 0%, 58%)
CIE-LABlab(24.12, 42.64, -32.50)
CIE-LCHlch(24.12, 53.62, 322.69°)
OKLaboklab(36.46% 0.1115 -0.091)
OKLCHoklch(36.46% 0.144 320.8)
XYZxyz(7.6173, 4.1369, 14.3043)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E196B #266B19
analogous
#35196B #5E196B #6B194F
triadic
#5E196B #6B5E19 #196B5E
tetradic
#5E196B #6B3519 #266B19 #194F6B
square
#5E196B #6B3519 #266B19 #194F6B
split-complementary
#5E196B #4F6B19 #196B35
monochromatic
#160619 #320D39 #5E196B #8A259D #B530CE

Accessibility & contrast

On white

11.49
#5E196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5E196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E196B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E196B#FFFFFF#000000##FFFFFF
##5E196B1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#223C69
Tritanopia (blue-blind)
#5F2940
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e196b;
/* rgb */ color: rgb(94, 25, 107);
/* oklch */ color: oklch(36.5% 0.144 320.8);
Tailwind
colors: {
  custom: {
    50: '#8f5e96',
    500: '#5e196b',
    950: '#000000',
  },
}
SCSS
$custom: #5e196b;
$custom-light: #8f5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#5e196b",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 290.488,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36459,
    "c": 0.14388,
    "h": 320.8
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#5E196B
secondary
#4FA13F
accent
#E5435C
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E196B

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

Preview Lab → · Contrast checker → · Palette generator →

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