#5E1656#5E1656

#5E1656 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.129 H 332.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#5E1656
RGBrgb(94, 22, 86)
HSLhsl(307, 62%, 23%)
HSVhsv(307, 77%, 37%)
CMYKcmyk(0%, 76.6%, 8.5%, 63.1%)
CIE-LABlab(22.39, 39.84, -21.42)
CIE-LCHlch(22.39, 45.24, 331.73°)
OKLaboklab(34.8% 0.1148 -0.0588)
OKLCHoklch(34.8% 0.129 332.9)
XYZxyz(6.5827, 3.6259, 9.1555)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1656 #165E1E
analogous
#42165E #5E1656 #5E1632
triadic
#5E1656 #565E16 #16565E
tetradic
#5E1656 #5E4216 #165E1E #16325E
square
#5E1656 #5E4216 #165E1E #16325E
split-complementary
#5E1656 #325E16 #165E42
monochromatic
#190617 #2C0A29 #5E1656 #902283 #C12DB1

Accessibility & contrast

On white

12.17
#5E1656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E1656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1656
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1656#FFFFFF#000000##FFFFFF
##5E16561.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F58
Deuteranopia (green-blind)
#2E3954
Tritanopia (blue-blind)
#621D34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1656;
/* rgb */ color: rgb(94, 22, 86);
/* oklch */ color: oklch(34.8% 0.129 332.9);
Tailwind
colors: {
  custom: {
    50: '#8e5b86',
    500: '#5e1656',
    950: '#000000',
  },
}
SCSS
$custom: #5e1656;
$custom-light: #8e5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1656",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 306.667,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.348,
    "c": 0.12901,
    "h": 332.9
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#5E1656
secondary
#3B9545
accent
#E55543
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1656

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

Preview Lab → · Contrast checker → · Palette generator →

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