#5B1365#5B1365

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

Color values

HEX#5B1365
RGBrgb(91, 19, 101)
HSLhsl(293, 68%, 24%)
HSVhsv(293, 81%, 40%)
CMYKcmyk(9.9%, 81.2%, 0%, 60.4%)
CIE-LABlab(22.41, 42.99, -31.36)
CIE-LCHlch(22.41, 53.21, 323.89°)
OKLaboklab(35.01% 0.1141 -0.0877)
OKLCHoklch(35.01% 0.144 322.4)
XYZxyz(6.8960, 3.6299, 12.6468)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1365 #1D6513
analogous
#321365 #5B1365 #651346
triadic
#5B1365 #655B13 #13655B
tetradic
#5B1365 #653213 #1D6513 #134665
square
#5B1365 #653213 #1D6513 #134665
split-complementary
#5B1365 #466513 #136532
monochromatic
#17051A #2D0931 #5B1365 #891D99 #B826CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1365#FFFFFF#000000##FFFFFF
##5B13651.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)
#003067
Deuteranopia (green-blind)
#203863
Tritanopia (blue-blind)
#5C233C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b1365;
/* rgb */ color: rgb(91, 19, 101);
/* oklch */ color: oklch(35.0% 0.144 322.4);
Tailwind
colors: {
  custom: {
    50: '#8d5a91',
    500: '#5b1365',
    950: '#000000',
  },
}
SCSS
$custom: #5b1365;
$custom-light: #8d5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1365",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 292.683,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35008,
    "c": 0.14391,
    "h": 322.4
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#5B1365
secondary
#449D37
accent
#EB3D52
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5B1365

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

Preview Lab → · Contrast checker → · Palette generator →

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