#5D2B63#5D2B63

#5D2B63 is a dark, moderate purple. Relative luminance 0.050; OKLCH L 38.1% C 0.108 H 323.2°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#5D2B63
RGBrgb(93, 43, 99)
HSLhsl(294, 39%, 28%)
HSVhsv(294, 57%, 39%)
CMYKcmyk(6.1%, 56.6%, 0%, 61.2%)
CIE-LABlab(26.61, 32.03, -23.37)
CIE-LCHlch(26.61, 39.65, 323.89°)
OKLaboklab(38.07% 0.0864 -0.0646)
OKLCHoklch(38.07% 0.108 323.2)
XYZxyz(7.6300, 4.9561, 12.3567)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2B63 #31632B
analogous
#412B63 #5D2B63 #632B4D
triadic
#5D2B63 #635D2B #2B635D
tetradic
#5D2B63 #63412B #31632B #2B4D63
square
#5D2B63 #63412B #31632B #2B4D63
split-complementary
#5D2B63 #4D632B #2B6341
monochromatic
#140915 #351838 #5D2B63 #853E8E #AA54B5

Accessibility & contrast

On white

10.55
#5D2B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5D2B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2B63
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2B63#FFFFFF#000000##FFFFFF
##5D2B631.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B65
Deuteranopia (green-blind)
#334161
Tritanopia (blue-blind)
#5F3242
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5d2b63;
/* rgb */ color: rgb(93, 43, 99);
/* oklch */ color: oklch(38.1% 0.108 323.2);
Tailwind
colors: {
  custom: {
    50: '#8d678f',
    500: '#5d2b63',
    950: '#000000',
  },
}
SCSS
$custom: #5d2b63;
$custom-light: #8d678f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2b63",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 293.571,
    "s": 39.437,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38072,
    "c": 0.1079,
    "h": 323.2
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#5D2B63
secondary
#5C9555
accent
#CF5865
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C060C
muted
#7D7A7D

Preview Lab

Preview with #5D2B63

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

Preview Lab → · Contrast checker → · Palette generator →

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