#5B1669#5B1669

#5B1669 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.144 H 320.2°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#5B1669
RGBrgb(91, 22, 105)
HSLhsl(290, 65%, 25%)
HSVhsv(290, 79%, 41%)
CMYKcmyk(13.3%, 79%, 0%, 58.8%)
CIE-LABlab(23.06, 42.71, -32.93)
CIE-LCHlch(23.06, 53.93, 322.37°)
OKLaboklab(35.56% 0.1108 -0.0923)
OKLCHoklch(35.56% 0.144 320.2)
XYZxyz(7.1508, 3.8183, 13.7222)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1669 #246916
analogous
#321669 #5B1669 #69164D
triadic
#5B1669 #695B16 #16695B
tetradic
#5B1669 #693216 #246916 #164D69
square
#5B1669 #693216 #246916 #164D69
split-complementary
#5B1669 #4D6916 #166932
monochromatic
#160519 #2F0B36 #5B1669 #87219C #B32BCE

Accessibility & contrast

On white

11.91
#5B1669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5B1669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1669
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1669#FFFFFF#000000##FFFFFF
##5B16691.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#1E3967
Tritanopia (blue-blind)
#5B273F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b1669;
/* rgb */ color: rgb(91, 22, 105);
/* oklch */ color: oklch(35.6% 0.144 320.2);
Tailwind
colors: {
  custom: {
    50: '#8d5c94',
    500: '#5b1669',
    950: '#000000',
  },
}
SCSS
$custom: #5b1669;
$custom-light: #8d5c94;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1669",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 289.88,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3556,
    "c": 0.14422,
    "h": 320.2
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#5B1669
secondary
#4C9F3B
accent
#E83F5C
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5B1669

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

Preview Lab → · Contrast checker → · Palette generator →

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