#5B1963#5B1963

#5B1963 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.135 H 323.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#5B1963
RGBrgb(91, 25, 99)
HSLhsl(294, 60%, 24%)
HSVhsv(294, 75%, 39%)
CMYKcmyk(8.1%, 74.7%, 0%, 61.2%)
CIE-LABlab(23.07, 40.32, -28.99)
CIE-LCHlch(23.07, 49.66, 324.28°)
OKLaboklab(35.44% 0.1081 -0.0808)
OKLCHoklch(35.44% 0.135 323.2)
XYZxyz(6.9139, 3.8207, 12.1753)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1963 #216319
analogous
#361963 #5B1963 #631946
triadic
#5B1963 #635B19 #19635B
tetradic
#5B1963 #633619 #216319 #194663
square
#5B1963 #633619 #216319 #194663
split-complementary
#5B1963 #466319 #196336
monochromatic
#160618 #2E0D32 #5B1963 #882594 #B532C5

Accessibility & contrast

On white

11.90
#5B1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1963
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1963#FFFFFF#000000##FFFFFF
##5B19631.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023265
Deuteranopia (green-blind)
#253A61
Tritanopia (blue-blind)
#5D263C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b1963;
/* rgb */ color: rgb(91, 25, 99);
/* oklch */ color: oklch(35.4% 0.135 323.2);
Tailwind
colors: {
  custom: {
    50: '#8c5d90',
    500: '#5b1963',
    950: '#000000',
  },
}
SCSS
$custom: #5b1963;
$custom-light: #8c5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1963",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 293.514,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35436,
    "c": 0.13495,
    "h": 323.2
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#5B1963
secondary
#49993F
accent
#E34556
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5B1963

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

Preview Lab → · Contrast checker → · Palette generator →

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