#5B1060#5B1060

#5B1060 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.143 H 325.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#5B1060
RGBrgb(91, 16, 96)
HSLhsl(296, 71%, 22%)
HSVhsv(296, 83%, 38%)
CMYKcmyk(5.2%, 83.3%, 0%, 62.4%)
CIE-LABlab(21.73, 43.02, -29.16)
CIE-LCHlch(21.73, 51.97, 325.86°)
OKLaboklab(34.41% 0.1172 -0.0813)
OKLCHoklch(34.41% 0.143 325.3)
XYZxyz(6.6108, 3.4397, 11.3798)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1060 #156010
analogous
#331060 #5B1060 #60103D
triadic
#5B1060 #605B10 #10605B
tetradic
#5B1060 #603310 #156010 #103D60
square
#5B1060 #603310 #156010 #103D60
split-complementary
#5B1060 #3D6010 #106033
monochromatic
#19041A #29072C #5B1060 #8D1994 #BE21C9

Accessibility & contrast

On white

12.44
#5B1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5B1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1060
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1060#FFFFFF#000000##FFFFFF
##5B10601.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#22375E
Tritanopia (blue-blind)
#5D1F38
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b1060;
/* rgb */ color: rgb(91, 16, 96);
/* oklch */ color: oklch(34.4% 0.143 325.3);
Tailwind
colors: {
  custom: {
    50: '#8d598d',
    500: '#5b1060',
    950: '#000000',
  },
}
SCSS
$custom: #5b1060;
$custom-light: #8d598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1060",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 296.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34414,
    "c": 0.14265,
    "h": 325.3
  },
  "luminance": 0.03439
}

Semantic roles & 50–950 ramp

primary
#5B1060
secondary
#399933
accent
#EE3A45
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5B1060

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

Preview Lab → · Contrast checker → · Palette generator →

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