#5B1969#5B1969

#5B1969 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.141 H 320.0°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#5B1969
RGBrgb(91, 25, 105)
HSLhsl(290, 62%, 25%)
HSVhsv(290, 76%, 41%)
CMYKcmyk(13.3%, 76.2%, 0%, 58.8%)
CIE-LABlab(23.47, 41.54, -32.27)
CIE-LCHlch(23.47, 52.60, 322.16°)
OKLaboklab(35.85% 0.1077 -0.0904)
OKLCHoklch(35.85% 0.141 320)
XYZxyz(7.2115, 3.9397, 13.7424)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1969 #276919
analogous
#331969 #5B1969 #69194F
triadic
#5B1969 #695B19 #19695B
tetradic
#5B1969 #693319 #276919 #194F69
square
#5B1969 #693319 #276919 #194F69
split-complementary
#5B1969 #4F6919 #196933
monochromatic
#150619 #300D38 #5B1969 #86259A #B131CC

Accessibility & contrast

On white

11.75
#5B1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5B1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1969
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1969#FFFFFF#000000##FFFFFF
##5B19691.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#203A67
Tritanopia (blue-blind)
#5B293F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5b1969;
/* rgb */ color: rgb(91, 25, 105);
/* oklch */ color: oklch(35.9% 0.141 320.0);
Tailwind
colors: {
  custom: {
    50: '#8c5d94',
    500: '#5b1969',
    950: '#000000',
  },
}
SCSS
$custom: #5b1969;
$custom-light: #8c5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1969",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 289.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35852,
    "c": 0.14062,
    "h": 320
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#5B1969
secondary
#509F3F
accent
#E5435F
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5B1969

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

Preview Lab → · Contrast checker → · Palette generator →

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