#5E1568#5E1568

#5E1568 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.146 H 322.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#5E1568
RGBrgb(94, 21, 104)
HSLhsl(293, 66%, 25%)
HSVhsv(293, 80%, 41%)
CMYKcmyk(9.6%, 79.8%, 0%, 59.2%)
CIE-LABlab(23.39, 43.54, -31.72)
CIE-LCHlch(23.39, 53.87, 323.93°)
OKLaboklab(35.88% 0.1157 -0.0887)
OKLCHoklch(35.88% 0.146 322.5)
XYZxyz(7.3827, 3.9159, 13.4610)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1568 #1F6815
analogous
#351568 #5E1568 #681549
triadic
#5E1568 #685E15 #15685E
tetradic
#5E1568 #683515 #1F6815 #154968
square
#5E1568 #683515 #1F6815 #154968
split-complementary
#5E1568 #496815 #156835
monochromatic
#170519 #300B35 #5E1568 #8C1F9B #BA2ACE

Accessibility & contrast

On white

11.78
#5E1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1568
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1568#FFFFFF#000000##FFFFFF
##5E15681.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#223A66
Tritanopia (blue-blind)
#5F253E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1568;
/* rgb */ color: rgb(94, 21, 104);
/* oklch */ color: oklch(35.9% 0.146 322.5);
Tailwind
colors: {
  custom: {
    50: '#8f5c93',
    500: '#5e1568',
    950: '#000000',
  },
}
SCSS
$custom: #5e1568;
$custom-light: #8f5c93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1568",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 292.771,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.1458,
    "h": 322.5
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#5E1568
secondary
#469F3A
accent
#E93E53
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1568

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

Preview Lab → · Contrast checker → · Palette generator →

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