#5E1567#5E1567

#5E1567 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.145 H 323.1°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#5E1567
RGBrgb(94, 21, 103)
HSLhsl(293, 66%, 24%)
HSVhsv(293, 80%, 40%)
CMYKcmyk(8.7%, 79.6%, 0%, 59.6%)
CIE-LABlab(23.32, 43.35, -31.17)
CIE-LCHlch(23.32, 53.39, 324.28°)
OKLaboklab(35.81% 0.1158 -0.0871)
OKLCHoklch(35.81% 0.145 323.1)
XYZxyz(7.3322, 3.8957, 13.1951)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1567 #1E6715
analogous
#351567 #5E1567 #671547
triadic
#5E1567 #675E15 #15675E
tetradic
#5E1567 #673515 #1E6715 #154767
square
#5E1567 #673515 #1E6715 #154767
split-complementary
#5E1567 #476715 #156735
monochromatic
#170519 #300B34 #5E1567 #8C1F9A #BB2ACD

Accessibility & contrast

On white

11.80
#5E1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1567
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1567#FFFFFF#000000##FFFFFF
##5E15671.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#233A65
Tritanopia (blue-blind)
#60253D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1567;
/* rgb */ color: rgb(94, 21, 103);
/* oklch */ color: oklch(35.8% 0.145 323.1);
Tailwind
colors: {
  custom: {
    50: '#8f5c93',
    500: '#5e1567',
    950: '#000000',
  },
}
SCSS
$custom: #5e1567;
$custom-light: #8f5c93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1567",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 293.415,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35806,
    "c": 0.1449,
    "h": 323.1
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#5E1567
secondary
#459E3A
accent
#E93F51
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1567

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

Preview Lab → · Contrast checker → · Palette generator →

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