#5D1763#5D1763

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

Color values

HEX#5D1763
RGBrgb(93, 23, 99)
HSLhsl(295, 62%, 24%)
HSVhsv(295, 77%, 39%)
CMYKcmyk(6.1%, 76.8%, 0%, 61.2%)
CIE-LABlab(23.14, 41.60, -28.86)
CIE-LCHlch(23.14, 50.63, 325.25°)
OKLaboklab(35.56% 0.1128 -0.0804)
OKLCHoklch(35.56% 0.138 324.5)
XYZxyz(7.0725, 3.8412, 12.1709)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1763 #1D6317
analogous
#371763 #5D1763 #631743
triadic
#5D1763 #635D17 #17635D
tetradic
#5D1763 #633717 #1D6317 #174363
square
#5D1763 #633717 #1D6317 #174363
split-complementary
#5D1763 #436317 #176337
monochromatic
#170619 #2E0B31 #5D1763 #8C2395 #BA2EC6

Accessibility & contrast

On white

11.88
#5D1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1763
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1763#FFFFFF#000000##FFFFFF
##5D17631.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003265
Deuteranopia (green-blind)
#263A61
Tritanopia (blue-blind)
#5F243B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1763;
/* rgb */ color: rgb(93, 23, 99);
/* oklch */ color: oklch(35.6% 0.138 324.5);
Tailwind
colors: {
  custom: {
    50: '#8e5c90',
    500: '#5d1763',
    950: '#000000',
  },
}
SCSS
$custom: #5d1763;
$custom-light: #8e5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1763",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 295.263,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35555,
    "c": 0.13848,
    "h": 324.5
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#5D1763
secondary
#449A3C
accent
#E5424F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D1763

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

Preview Lab → · Contrast checker → · Palette generator →

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