#5D2A63#5D2A63

#5D2A63 is a dark, moderate purple. Relative luminance 0.049; OKLCH L 37.9% C 0.110 H 323.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#5D2A63
RGBrgb(93, 42, 99)
HSLhsl(294, 40%, 28%)
HSVhsv(294, 58%, 39%)
CMYKcmyk(6.1%, 57.6%, 0%, 61.2%)
CIE-LABlab(26.40, 32.58, -23.69)
CIE-LCHlch(26.40, 40.28, 323.98°)
OKLaboklab(37.92% 0.088 -0.0655)
OKLCHoklch(37.92% 0.11 323.3)
XYZxyz(7.5941, 4.8843, 12.3447)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2A63 #30632A
analogous
#402A63 #5D2A63 #632A4D
triadic
#5D2A63 #635D2A #2A635D
tetradic
#5D2A63 #63402A #30632A #2A4D63
square
#5D2A63 #63402A #30632A #2A4D63
split-complementary
#5D2A63 #4D632A #2A6340
monochromatic
#140915 #351838 #5D2A63 #853C8E #AB52B6

Accessibility & contrast

On white

10.62
#5D2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5D2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2A63
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2A63#FFFFFF#000000##FFFFFF
##5D2A631.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B65
Deuteranopia (green-blind)
#324161
Tritanopia (blue-blind)
#5F3242
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5d2a63;
/* rgb */ color: rgb(93, 42, 99);
/* oklch */ color: oklch(37.9% 0.110 323.3);
Tailwind
colors: {
  custom: {
    50: '#8d668f',
    500: '#5d2a63',
    950: '#000000',
  },
}
SCSS
$custom: #5d2a63;
$custom-light: #8d668f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2a63",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 293.684,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.10968,
    "h": 323.3
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#5D2A63
secondary
#5A9553
accent
#D05864
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C060C
muted
#7D7A7D

Preview Lab

Preview with #5D2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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