#5D1761#5D1761

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

Color values

HEX#5D1761
RGBrgb(93, 23, 97)
HSLhsl(297, 62%, 24%)
HSVhsv(297, 76%, 38%)
CMYKcmyk(4.1%, 76.3%, 0%, 62%)
CIE-LABlab(23.01, 41.21, -27.75)
CIE-LCHlch(23.01, 49.69, 326.05°)
OKLaboklab(35.42% 0.1128 -0.0771)
OKLCHoklch(35.42% 0.137 325.6)
XYZxyz(6.9781, 3.8035, 11.6735)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1761 #1B6117
analogous
#381761 #5D1761 #611740
triadic
#5D1761 #615D17 #17615D
tetradic
#5D1761 #613817 #1B6117 #174061
square
#5D1761 #613817 #1B6117 #174061
split-complementary
#5D1761 #406117 #176138
monochromatic
#180619 #2E0B30 #5D1761 #8C2392 #BC2EC4

Accessibility & contrast

On white

11.93
#5D1761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1761
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1761#FFFFFF#000000##FFFFFF
##5D17611.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043163
Deuteranopia (green-blind)
#273A5F
Tritanopia (blue-blind)
#5F233A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1761;
/* rgb */ color: rgb(93, 23, 97);
/* oklch */ color: oklch(35.4% 0.137 325.6);
Tailwind
colors: {
  custom: {
    50: '#8e5c8e',
    500: '#5d1761',
    950: '#000000',
  },
}
SCSS
$custom: #5d1761;
$custom-light: #8e5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1761",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 296.757,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35422,
    "c": 0.13668,
    "h": 325.6
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#5D1761
secondary
#41983C
accent
#E5434C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D1761

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

Preview Lab → · Contrast checker → · Palette generator →

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