#5D1765#5D1765

#5D1765 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.140 H 323.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#5D1765
RGBrgb(93, 23, 101)
HSLhsl(294, 63%, 24%)
HSVhsv(294, 77%, 40%)
CMYKcmyk(7.9%, 77.2%, 0%, 60.4%)
CIE-LABlab(23.27, 41.99, -29.96)
CIE-LCHlch(23.27, 51.58, 324.49°)
OKLaboklab(35.69% 0.1127 -0.0836)
OKLCHoklch(35.69% 0.14 323.4)
XYZxyz(7.1693, 3.8800, 12.6807)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1765 #1F6517
analogous
#361765 #5D1765 #651746
triadic
#5D1765 #655D17 #17655D
tetradic
#5D1765 #653617 #1F6517 #174665
square
#5D1765 #653617 #1F6517 #174665
split-complementary
#5D1765 #466517 #176536
monochromatic
#170619 #2F0C33 #5D1765 #8B2297 #B92EC9

Accessibility & contrast

On white

11.82
#5D1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5D1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1765
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1765#FFFFFF#000000##FFFFFF
##5D17651.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#243A63
Tritanopia (blue-blind)
#5F253D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1765;
/* rgb */ color: rgb(93, 23, 101);
/* oklch */ color: oklch(35.7% 0.140 323.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c91',
    500: '#5d1765',
    950: '#000000',
  },
}
SCSS
$custom: #5d1765;
$custom-light: #8e5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1765",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 293.846,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35691,
    "c": 0.14029,
    "h": 323.4
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#5D1765
secondary
#469B3C
accent
#E64253
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040D
muted
#7D797D

Preview Lab

Preview with #5D1765

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

Preview Lab → · Contrast checker → · Palette generator →

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