#5D296A#5D296A

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

Color values

HEX#5D296A
RGBrgb(93, 41, 106)
HSLhsl(288, 44%, 29%)
HSVhsv(288, 61%, 42%)
CMYKcmyk(12.3%, 61.3%, 0%, 58.4%)
CIE-LABlab(26.60, 34.65, -27.90)
CIE-LCHlch(26.60, 44.49, 321.15°)
OKLaboklab(38.2% 0.0901 -0.0777)
OKLCHoklch(38.2% 0.119 319.2)
XYZxyz(7.9083, 4.9540, 14.1725)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D296A #366A29
analogous
#3D296A #5D296A #6A2957
triadic
#5D296A #6A5D29 #296A5D
tetradic
#5D296A #6A3D29 #366A29 #29576A
square
#5D296A #6A3D29 #366A29 #29576A
split-complementary
#5D296A #576A29 #296A3D
monochromatic
#130916 #36183E #5D296A #843A96 #A752BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D296A#FFFFFF#000000##FFFFFF
##5D296A1.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)
#1A3B6C
Deuteranopia (green-blind)
#2D4168
Tritanopia (blue-blind)
#5D3345
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5d296a;
/* rgb */ color: rgb(93, 41, 106);
/* oklch */ color: oklch(38.2% 0.119 319.2);
Tailwind
colors: {
  custom: {
    50: '#8d6695',
    500: '#5d296a',
    950: '#000000',
  },
}
SCSS
$custom: #5d296a;
$custom-light: #8d6695;
$custom-dark: #000000;
JSON
{
  "hex": "#5d296a",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 288,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38198,
    "c": 0.11897,
    "h": 319.2
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#5D296A
secondary
#619C52
accent
#D4546D
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5D296A

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

Preview Lab → · Contrast checker → · Palette generator →

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