#5D2256#5D2256

#5D2256 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 36.0% C 0.111 H 332.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#5D2256
RGBrgb(93, 34, 86)
HSLhsl(307, 46%, 25%)
HSVhsv(307, 63%, 36%)
CMYKcmyk(0%, 63.4%, 7.5%, 63.5%)
CIE-LABlab(24.14, 34.20, -18.70)
CIE-LCHlch(24.14, 38.98, 331.33°)
OKLaboklab(36.03% 0.0981 -0.0511)
OKLCHoklch(36.03% 0.111 332.5)
XYZxyz(6.7659, 4.1436, 9.2457)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2256 #225D29
analogous
#47225D #5D2256 #5D2238
triadic
#5D2256 #565D22 #22565D
tetradic
#5D2256 #5D4722 #225D29 #22385D
square
#5D2256 #5D4722 #225D29 #22385D
split-complementary
#5D2256 #385D22 #225D47
monochromatic
#160815 #30122D #5D2256 #8A327F #B743A9

Accessibility & contrast

On white

11.48
#5D2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5D2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2256
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2256#FFFFFF#000000##FFFFFF
##5D22561.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203458
Deuteranopia (green-blind)
#333C54
Tritanopia (blue-blind)
#612738
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d2256;
/* rgb */ color: rgb(93, 34, 86);
/* oklch */ color: oklch(36.0% 0.111 332.5);
Tailwind
colors: {
  custom: {
    50: '#8d6186',
    500: '#5d2256',
    950: '#000000',
  },
}
SCSS
$custom: #5d2256;
$custom-light: #8d6186;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2256",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 307.119,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36033,
    "c": 0.11058,
    "h": 332.5
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#5D2256
secondary
#4A9152
accent
#D66152
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #5D2256

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

Preview Lab → · Contrast checker → · Palette generator →

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