#5D296F#5D296F

#5D296F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.5% C 0.124 H 316.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#5D296F
RGBrgb(93, 41, 111)
HSLhsl(285, 46%, 30%)
HSVhsv(285, 63%, 44%)
CMYKcmyk(16.2%, 63.1%, 0%, 56.5%)
CIE-LABlab(26.91, 35.77, -30.63)
CIE-LCHlch(26.91, 47.09, 319.42°)
OKLaboklab(38.52% 0.0903 -0.0857)
OKLCHoklch(38.52% 0.124 316.5)
XYZxyz(8.1760, 5.0610, 15.5820)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D296F #3B6F29
analogous
#3A296F #5D296F #6F295E
triadic
#5D296F #6F5D29 #296F5D
tetradic
#5D296F #6F3A29 #3B6F29 #295E6F
square
#5D296F #6F3A29 #3B6F29 #295E6F
split-complementary
#5D296F #5E6F29 #296F3A
monochromatic
#130816 #381842 #5D296F #823A9C #A453BF

Accessibility & contrast

On white

10.44
#5D296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5D296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D296F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D296F#FFFFFF#000000##FFFFFF
##5D296F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C71
Deuteranopia (green-blind)
#2A416D
Tritanopia (blue-blind)
#5C3548
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d296f;
/* rgb */ color: rgb(93, 41, 111);
/* oklch */ color: oklch(38.5% 0.124 316.5);
Tailwind
colors: {
  custom: {
    50: '#8d6699',
    500: '#5d296f',
    950: '#000000',
  },
}
SCSS
$custom: #5d296f;
$custom-light: #8d6699;
$custom-dark: #000000;
JSON
{
  "hex": "#5d296f",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 284.571,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.12447,
    "h": 316.5
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#5D296F
secondary
#67A153
accent
#D65274
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5D296F

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

Preview Lab → · Contrast checker → · Palette generator →

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