#5B1364#5B1364

#5B1364 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.143 H 323.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#5B1364
RGBrgb(91, 19, 100)
HSLhsl(293, 68%, 23%)
HSVhsv(293, 81%, 39%)
CMYKcmyk(9%, 81%, 0%, 60.8%)
CIE-LABlab(22.34, 42.79, -30.82)
CIE-LCHlch(22.34, 52.73, 324.24°)
OKLaboklab(34.94% 0.1142 -0.0861)
OKLCHoklch(34.94% 0.143 323)
XYZxyz(6.8473, 3.6104, 12.3903)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1364 #1C6413
analogous
#321364 #5B1364 #641344
triadic
#5B1364 #645B13 #13645B
tetradic
#5B1364 #643213 #1C6413 #134464
square
#5B1364 #643213 #1C6413 #134464
split-complementary
#5B1364 #446413 #136432
monochromatic
#17051A #2C0931 #5B1364 #8A1D97 #B927CB

Accessibility & contrast

On white

12.20
#5B1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5B1364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1364
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1364#FFFFFF#000000##FFFFFF
##5B13641.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#213862
Tritanopia (blue-blind)
#5C233B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b1364;
/* rgb */ color: rgb(91, 19, 100);
/* oklch */ color: oklch(34.9% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#8c5a90',
    500: '#5b1364',
    950: '#000000',
  },
}
SCSS
$custom: #5b1364;
$custom-light: #8c5a90;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1364",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 293.333,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34937,
    "c": 0.14303,
    "h": 323
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#5B1364
secondary
#429C37
accent
#EB3D50
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5B1364

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

Preview Lab → · Contrast checker → · Palette generator →

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