#5E196E#5E196E

#5E196E is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.147 H 319.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#5E196E
RGBrgb(94, 25, 110)
HSLhsl(289, 63%, 26%)
HSVhsv(289, 77%, 43%)
CMYKcmyk(14.5%, 77.3%, 0%, 56.9%)
CIE-LABlab(24.33, 43.26, -34.11)
CIE-LCHlch(24.33, 55.09, 321.74°)
OKLaboklab(36.67% 0.1112 -0.0957)
OKLCHoklch(36.67% 0.147 319.3)
XYZxyz(7.7778, 4.2011, 15.1500)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E196E #296E19
analogous
#34196E #5E196E #6E1954
triadic
#5E196E #6E5E19 #196E5E
tetradic
#5E196E #6E3419 #296E19 #19546E
square
#5E196E #6E3419 #296E19 #19546E
split-complementary
#5E196E #546E19 #196E34
monochromatic
#150619 #330E3C #5E196E #8924A0 #B231D0

Accessibility & contrast

On white

11.41
#5E196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E196E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E196E#FFFFFF#000000##FFFFFF
##5E196E1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#1F3C6C
Tritanopia (blue-blind)
#5E2A42
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e196e;
/* rgb */ color: rgb(94, 25, 110);
/* oklch */ color: oklch(36.7% 0.147 319.3);
Tailwind
colors: {
  custom: {
    50: '#8f5e98',
    500: '#5e196e',
    950: '#000000',
  },
}
SCSS
$custom: #5e196e;
$custom-light: #8f5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#5e196e",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 288.706,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36672,
    "c": 0.1467,
    "h": 319.3
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#5E196E
secondary
#52A33F
accent
#E64261
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E196E

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

Preview Lab → · Contrast checker → · Palette generator →

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