#5B1763#5B1763

#5B1763 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.137 H 323.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#5B1763
RGBrgb(91, 23, 99)
HSLhsl(294, 62%, 24%)
HSVhsv(294, 77%, 39%)
CMYKcmyk(8.1%, 76.8%, 0%, 61.2%)
CIE-LABlab(22.79, 41.12, -29.44)
CIE-LCHlch(22.79, 50.58, 324.40°)
OKLaboklab(35.23% 0.1103 -0.0821)
OKLCHoklch(35.23% 0.137 323.3)
XYZxyz(6.8727, 3.7382, 12.1615)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1763 #1F6317
analogous
#351763 #5B1763 #631745
triadic
#5B1763 #635B17 #17635B
tetradic
#5B1763 #633517 #1F6317 #174563
square
#5B1763 #633517 #1F6317 #174563
split-complementary
#5B1763 #456317 #176335
monochromatic
#170619 #2D0B31 #5B1763 #892395 #B62EC6

Accessibility & contrast

On white

12.02
#5B1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1763
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1763#FFFFFF#000000##FFFFFF
##5B17631.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#243961
Tritanopia (blue-blind)
#5D253B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b1763;
/* rgb */ color: rgb(91, 23, 99);
/* oklch */ color: oklch(35.2% 0.137 323.3);
Tailwind
colors: {
  custom: {
    50: '#8c5c90',
    500: '#5b1763',
    950: '#000000',
  },
}
SCSS
$custom: #5b1763;
$custom-light: #8c5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1763",
  "rgb": {
    "r": 91,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 293.684,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35233,
    "c": 0.13749,
    "h": 323.3
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#5B1763
secondary
#469A3C
accent
#E54254
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5B1763

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

Preview Lab → · Contrast checker → · Palette generator →

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