#5D296E#5D296E

#5D296E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.5% C 0.123 H 317.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#5D296E
RGBrgb(93, 41, 110)
HSLhsl(285, 46%, 30%)
HSVhsv(285, 63%, 43%)
CMYKcmyk(15.5%, 62.7%, 0%, 56.9%)
CIE-LABlab(26.85, 35.54, -30.09)
CIE-LCHlch(26.85, 46.57, 319.75°)
OKLaboklab(38.45% 0.0903 -0.0841)
OKLCHoklch(38.45% 0.123 317)
XYZxyz(8.1212, 5.0391, 15.2937)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D296E #3A6E29
analogous
#3A296E #5D296E #6E295D
triadic
#5D296E #6E5D29 #296E5D
tetradic
#5D296E #6E3A29 #3A6E29 #295D6E
square
#5D296E #6E3A29 #3A6E29 #295D6E
split-complementary
#5D296E #5D6E29 #296E3A
monochromatic
#130816 #371841 #5D296E #833A9B #A453BF

Accessibility & contrast

On white

10.46
#5D296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D296E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D296E#FFFFFF#000000##FFFFFF
##5D296E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C70
Deuteranopia (green-blind)
#2B416C
Tritanopia (blue-blind)
#5C3547
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5d296e;
/* rgb */ color: rgb(93, 41, 110);
/* oklch */ color: oklch(38.5% 0.123 317.0);
Tailwind
colors: {
  custom: {
    50: '#8d6698',
    500: '#5d296e',
    950: '#000000',
  },
}
SCSS
$custom: #5d296e;
$custom-light: #8d6698;
$custom-dark: #000000;
JSON
{
  "hex": "#5d296e",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 285.217,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38453,
    "c": 0.12337,
    "h": 317
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#5D296E
secondary
#66A053
accent
#D55273
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5D296E

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

Preview Lab → · Contrast checker → · Palette generator →

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