#5E196C#5E196C

#5E196C is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.145 H 320.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#5E196C
RGBrgb(94, 25, 108)
HSLhsl(290, 62%, 26%)
HSVhsv(290, 77%, 42%)
CMYKcmyk(13%, 76.9%, 0%, 57.6%)
CIE-LABlab(24.19, 42.85, -33.04)
CIE-LCHlch(24.19, 54.11, 322.37°)
OKLaboklab(36.53% 0.1114 -0.0926)
OKLCHoklch(36.53% 0.145 320.3)
XYZxyz(7.6702, 4.1580, 14.5830)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E196C #276C19
analogous
#34196C #5E196C #6C1950
triadic
#5E196C #6C5E19 #196C5E
tetradic
#5E196C #6C3419 #276C19 #19506C
square
#5E196C #6C3419 #276C19 #19506C
split-complementary
#5E196C #506C19 #196C34
monochromatic
#160619 #330D3A #5E196C #89259E #B430CF

Accessibility & contrast

On white

11.47
#5E196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E196C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E196C#FFFFFF#000000##FFFFFF
##5E196C1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#213C6A
Tritanopia (blue-blind)
#5E2941
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e196c;
/* rgb */ color: rgb(94, 25, 108);
/* oklch */ color: oklch(36.5% 0.145 320.3);
Tailwind
colors: {
  custom: {
    50: '#8f5e96',
    500: '#5e196c',
    950: '#000000',
  },
}
SCSS
$custom: #5e196c;
$custom-light: #8f5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#5e196c",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 289.88,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36529,
    "c": 0.14482,
    "h": 320.3
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#5E196C
secondary
#50A13F
accent
#E5425E
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E196C

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

Preview Lab → · Contrast checker → · Palette generator →

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