#5B1465#5B1465

#5B1465 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.143 H 322.4°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#5B1465
RGBrgb(91, 20, 101)
HSLhsl(293, 67%, 24%)
HSVhsv(293, 80%, 40%)
CMYKcmyk(9.9%, 80.2%, 0%, 60.4%)
CIE-LABlab(22.53, 42.64, -31.17)
CIE-LCHlch(22.53, 52.82, 323.84°)
OKLaboklab(35.09% 0.1132 -0.0872)
OKLCHoklch(35.09% 0.143 322.4)
XYZxyz(6.9133, 3.6644, 12.6526)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1465 #1E6514
analogous
#321465 #5B1465 #651446
triadic
#5B1465 #655B14 #14655B
tetradic
#5B1465 #653214 #1E6514 #144665
square
#5B1465 #653214 #1E6514 #144665
split-complementary
#5B1465 #466514 #146532
monochromatic
#17051A #2D0A32 #5B1465 #891E98 #B728CB

Accessibility & contrast

On white

12.12
#5B1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1465
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1465#FFFFFF#000000##FFFFFF
##5B14651.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#203863
Tritanopia (blue-blind)
#5C243C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b1465;
/* rgb */ color: rgb(91, 20, 101);
/* oklch */ color: oklch(35.1% 0.143 322.4);
Tailwind
colors: {
  custom: {
    50: '#8c5b91',
    500: '#5b1465',
    950: '#000000',
  },
}
SCSS
$custom: #5b1465;
$custom-light: #8c5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1465",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 292.593,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35094,
    "c": 0.14283,
    "h": 322.4
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#5B1465
secondary
#459C39
accent
#EA3E53
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5B1465

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

Preview Lab → · Contrast checker → · Palette generator →

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