#5B1463#5B1463

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

Color values

HEX#5B1463
RGBrgb(91, 20, 99)
HSLhsl(294, 66%, 23%)
HSVhsv(294, 80%, 39%)
CMYKcmyk(8.1%, 79.8%, 0%, 61.2%)
CIE-LABlab(22.39, 42.25, -30.07)
CIE-LCHlch(22.39, 51.86, 324.56°)
OKLaboklab(34.95% 0.1133 -0.084)
OKLCHoklch(34.95% 0.141 323.5)
XYZxyz(6.8165, 3.6257, 12.1428)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1463 #1C6314
analogous
#331463 #5B1463 #631443
triadic
#5B1463 #635B14 #14635B
tetradic
#5B1463 #633314 #1C6314 #144363
square
#5B1463 #633314 #1C6314 #144363
split-complementary
#5B1463 #436314 #146333
monochromatic
#170519 #2C0A30 #5B1463 #8A1E96 #B929C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1463#FFFFFF#000000##FFFFFF
##5B14631.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)
#003065
Deuteranopia (green-blind)
#223861
Tritanopia (blue-blind)
#5D233B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b1463;
/* rgb */ color: rgb(91, 20, 99);
/* oklch */ color: oklch(35.0% 0.141 323.5);
Tailwind
colors: {
  custom: {
    50: '#8c5b90',
    500: '#5b1463',
    950: '#000000',
  },
}
SCSS
$custom: #5b1463;
$custom-light: #8c5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1463",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 293.924,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34953,
    "c": 0.14103,
    "h": 323.5
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#5B1463
secondary
#429A38
accent
#E93E50
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5B1463

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

Preview Lab → · Contrast checker → · Palette generator →

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