#5B1469#5B1469

#5B1469 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.146 H 320.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#5B1469
RGBrgb(91, 20, 105)
HSLhsl(290, 68%, 25%)
HSVhsv(290, 81%, 41%)
CMYKcmyk(13.3%, 81%, 0%, 58.8%)
CIE-LABlab(22.81, 43.43, -33.33)
CIE-LCHlch(22.81, 54.75, 322.50°)
OKLaboklab(35.38% 0.1127 -0.0935)
OKLCHoklch(35.38% 0.146 320.3)
XYZxyz(7.1140, 3.7448, 13.7100)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1469 #226914
analogous
#311469 #5B1469 #69144D
triadic
#5B1469 #695B14 #14695B
tetradic
#5B1469 #693114 #226914 #144D69
square
#5B1469 #693114 #226914 #144D69
split-complementary
#5B1469 #4D6914 #146931
monochromatic
#16051A #2E0A36 #5B1469 #881E9C #B428D0

Accessibility & contrast

On white

12.01
#5B1469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5B1469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1469
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1469#FFFFFF#000000##FFFFFF
##5B14691.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#1D3967
Tritanopia (blue-blind)
#5B263E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b1469;
/* rgb */ color: rgb(91, 20, 105);
/* oklch */ color: oklch(35.4% 0.146 320.3);
Tailwind
colors: {
  custom: {
    50: '#8d5b94',
    500: '#5b1469',
    950: '#000000',
  },
}
SCSS
$custom: #5b1469;
$custom-light: #8d5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1469",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 290.118,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35381,
    "c": 0.14645,
    "h": 320.3
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#5B1469
secondary
#4AA039
accent
#EB3D5A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5B1469

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

Preview Lab → · Contrast checker → · Palette generator →

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