#5D296C#5D296C

#5D296C is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.3% C 0.121 H 318.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#5D296C
RGBrgb(93, 41, 108)
HSLhsl(287, 45%, 29%)
HSVhsv(287, 62%, 42%)
CMYKcmyk(13.9%, 62%, 0%, 57.6%)
CIE-LABlab(26.72, 35.09, -29.00)
CIE-LCHlch(26.72, 45.52, 320.43°)
OKLaboklab(38.32% 0.0902 -0.0809)
OKLCHoklch(38.32% 0.121 318.1)
XYZxyz(8.0135, 4.9961, 14.7267)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D296C #386C29
analogous
#3C296C #5D296C #6C295A
triadic
#5D296C #6C5D29 #296C5D
tetradic
#5D296C #6C3C29 #386C29 #295A6C
square
#5D296C #6C3C29 #386C29 #295A6C
split-complementary
#5D296C #5A6C29 #296C3C
monochromatic
#130816 #371840 #5D296C #833A98 #A552BD

Accessibility & contrast

On white

10.50
#5D296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5D296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D296C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D296C#FFFFFF#000000##FFFFFF
##5D296C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6E
Deuteranopia (green-blind)
#2C416A
Tritanopia (blue-blind)
#5D3446
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5d296c;
/* rgb */ color: rgb(93, 41, 108);
/* oklch */ color: oklch(38.3% 0.121 318.1);
Tailwind
colors: {
  custom: {
    50: '#8d6696',
    500: '#5d296c',
    950: '#000000',
  },
}
SCSS
$custom: #5d296c;
$custom-light: #8d6696;
$custom-dark: #000000;
JSON
{
  "hex": "#5d296c",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 286.567,
    "s": 44.966,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38324,
    "c": 0.12116,
    "h": 318.1
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#5D296C
secondary
#639E53
accent
#D55370
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5D296C

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

Preview Lab → · Contrast checker → · Palette generator →

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