#5E1560#5E1560

#5E1560 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.139 H 326.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#5E1560
RGBrgb(94, 21, 96)
HSLhsl(298, 64%, 23%)
HSVhsv(298, 78%, 38%)
CMYKcmyk(2.1%, 78.1%, 0%, 62.4%)
CIE-LABlab(22.86, 42.02, -27.31)
CIE-LCHlch(22.86, 50.11, 326.97°)
OKLaboklab(35.33% 0.1162 -0.0758)
OKLCHoklch(35.33% 0.139 326.9)
XYZxyz(6.9955, 3.7610, 11.4216)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1560 #176015
analogous
#381560 #5E1560 #60153C
triadic
#5E1560 #605E15 #15605E
tetradic
#5E1560 #603815 #176015 #153C60
square
#5E1560 #603815 #176015 #153C60
split-complementary
#5E1560 #3C6015 #156038
monochromatic
#190519 #2D0A2E #5E1560 #8F2092 #C02BC4

Accessibility & contrast

On white

11.98
#5E1560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E1560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1560
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1560#FFFFFF#000000##FFFFFF
##5E15601.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033162
Deuteranopia (green-blind)
#283A5E
Tritanopia (blue-blind)
#612139
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1560;
/* rgb */ color: rgb(94, 21, 96);
/* oklch */ color: oklch(35.3% 0.139 326.9);
Tailwind
colors: {
  custom: {
    50: '#8f5b8d',
    500: '#5e1560',
    950: '#000000',
  },
}
SCSS
$custom: #5e1560;
$custom-light: #8f5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1560",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 298.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35332,
    "c": 0.13873,
    "h": 326.9
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#5E1560
secondary
#3C973A
accent
#E74145
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1560

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

Preview Lab → · Contrast checker → · Palette generator →

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