#5B1369#5B1369

#5B1369 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.148 H 320.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#5B1369
RGBrgb(91, 19, 105)
HSLhsl(290, 69%, 24%)
HSVhsv(290, 82%, 41%)
CMYKcmyk(13.3%, 81.9%, 0%, 58.8%)
CIE-LABlab(22.69, 43.78, -33.52)
CIE-LCHlch(22.69, 55.14, 322.56°)
OKLaboklab(35.3% 0.1136 -0.094)
OKLCHoklch(35.3% 0.148 320.4)
XYZxyz(7.0968, 3.7102, 13.7042)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1369 #216913
analogous
#301369 #5B1369 #69134C
triadic
#5B1369 #695B13 #13695B
tetradic
#5B1369 #693013 #216913 #134C69
square
#5B1369 #693013 #216913 #134C69
split-complementary
#5B1369 #4C6913 #136930
monochromatic
#16051A #2E0A35 #5B1369 #881C9D #B526D1

Accessibility & contrast

On white

12.06
#5B1369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5B1369 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1369
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1369#FFFFFF#000000##FFFFFF
##5B13691.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#1C3967
Tritanopia (blue-blind)
#5B253E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b1369;
/* rgb */ color: rgb(91, 19, 105);
/* oklch */ color: oklch(35.3% 0.148 320.4);
Tailwind
colors: {
  custom: {
    50: '#8d5b94',
    500: '#5b1369',
    950: '#000000',
  },
}
SCSS
$custom: #5b1369;
$custom-light: #8d5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1369",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 105
  },
  "hsl": {
    "h": 290.233,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.14751,
    "h": 320.4
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#5B1369
secondary
#49A038
accent
#EC3C58
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5B1369

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

Preview Lab → · Contrast checker → · Palette generator →

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