#5B1359#5B1359

#5B1359 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.133 H 329.2°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#5B1359
RGBrgb(91, 19, 89)
HSLhsl(302, 65%, 22%)
HSVhsv(302, 79%, 36%)
CMYKcmyk(0%, 79.1%, 2.2%, 64.3%)
CIE-LABlab(21.62, 40.72, -24.68)
CIE-LCHlch(21.62, 47.62, 328.78°)
OKLaboklab(34.2% 0.1147 -0.0683)
OKLCHoklch(34.2% 0.133 329.2)
XYZxyz(6.3504, 3.4116, 9.7733)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1359 #135B15
analogous
#39135B #5B1359 #5B1335
triadic
#5B1359 #595B13 #13595B
tetradic
#5B1359 #5B3913 #135B15 #13355B
square
#5B1359 #5B3913 #135B15 #13355B
split-complementary
#5B1359 #355B13 #135B39
monochromatic
#190519 #280827 #5B1359 #8E1E8B #C028BC

Accessibility & contrast

On white

12.48
#5B1359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5B1359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1359
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1359#FFFFFF#000000##FFFFFF
##5B13591.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082E5B
Deuteranopia (green-blind)
#283757
Tritanopia (blue-blind)
#5E1D35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b1359;
/* rgb */ color: rgb(91, 19, 89);
/* oklch */ color: oklch(34.2% 0.133 329.2);
Tailwind
colors: {
  custom: {
    50: '#8c5a88',
    500: '#5b1359',
    950: '#000000',
  },
}
SCSS
$custom: #5b1359;
$custom-light: #8c5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1359",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 301.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34196,
    "c": 0.13344,
    "h": 329.2
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#5B1359
secondary
#379339
accent
#E8443F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5B1359

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

Preview Lab → · Contrast checker → · Palette generator →

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