#5E1565#5E1565

#5E1565 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.143 H 324.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#5E1565
RGBrgb(94, 21, 101)
HSLhsl(295, 66%, 24%)
HSVhsv(295, 79%, 40%)
CMYKcmyk(6.9%, 79.2%, 0%, 60.4%)
CIE-LABlab(23.19, 42.96, -30.08)
CIE-LCHlch(23.19, 52.45, 325.00°)
OKLaboklab(35.67% 0.116 -0.0839)
OKLCHoklch(35.67% 0.143 324.1)
XYZxyz(7.2330, 3.8561, 12.6727)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1565 #1C6515
analogous
#361565 #5E1565 #651544
triadic
#5E1565 #655E15 #15655E
tetradic
#5E1565 #653615 #1C6515 #154465
square
#5E1565 #653615 #1C6515 #154465
split-complementary
#5E1565 #446515 #156536
monochromatic
#180519 #2F0A32 #5E1565 #8D2098 #BC2ACA

Accessibility & contrast

On white

11.86
#5E1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1565
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1565#FFFFFF#000000##FFFFFF
##5E15651.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#243A63
Tritanopia (blue-blind)
#60243C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1565;
/* rgb */ color: rgb(94, 21, 101);
/* oklch */ color: oklch(35.7% 0.143 324.1);
Tailwind
colors: {
  custom: {
    50: '#8f5c91',
    500: '#5e1565',
    950: '#000000',
  },
}
SCSS
$custom: #5e1565;
$custom-light: #8f5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1565",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 294.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35668,
    "c": 0.14312,
    "h": 324.1
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#5E1565
secondary
#429C3A
accent
#E93F4E
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040D
muted
#7E797D

Preview Lab

Preview with #5E1565

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

Preview Lab → · Contrast checker → · Palette generator →

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