#5E1561#5E1561

#5E1561 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.140 H 326.3°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#5E1561
RGBrgb(94, 21, 97)
HSLhsl(298, 64%, 23%)
HSVhsv(298, 78%, 38%)
CMYKcmyk(3.1%, 78.4%, 0%, 62%)
CIE-LABlab(22.93, 42.20, -27.87)
CIE-LCHlch(22.93, 50.58, 326.56°)
OKLaboklab(35.4% 0.1161 -0.0774)
OKLCHoklch(35.4% 0.14 326.3)
XYZxyz(7.0418, 3.7796, 11.6656)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1561 #186115
analogous
#381561 #5E1561 #61153E
triadic
#5E1561 #615E15 #15615E
tetradic
#5E1561 #613815 #186115 #153E61
square
#5E1561 #613815 #186115 #153E61
split-complementary
#5E1561 #3E6115 #156138
monochromatic
#180519 #2D0A2F #5E1561 #8F2093 #C02BC6

Accessibility & contrast

On white

11.96
#5E1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5E1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1561
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1561#FFFFFF#000000##FFFFFF
##5E15611.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013163
Deuteranopia (green-blind)
#273A5F
Tritanopia (blue-blind)
#61223A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1561;
/* rgb */ color: rgb(94, 21, 97);
/* oklch */ color: oklch(35.4% 0.140 326.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b8e',
    500: '#5e1561',
    950: '#000000',
  },
}
SCSS
$custom: #5e1561;
$custom-light: #8f5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1561",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 297.632,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35398,
    "c": 0.1396,
    "h": 326.3
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#5E1561
secondary
#3D983A
accent
#E74047
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1561

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

Preview Lab → · Contrast checker → · Palette generator →

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