#5E296D#5E296D

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

Color values

HEX#5E296D
RGBrgb(94, 41, 109)
HSLhsl(287, 45%, 29%)
HSVhsv(287, 62%, 43%)
CMYKcmyk(13.8%, 62.4%, 0%, 57.3%)
CIE-LABlab(26.93, 35.60, -29.30)
CIE-LCHlch(26.93, 46.11, 320.54°)
OKLaboklab(38.53% 0.0916 -0.0818)
OKLCHoklch(38.53% 0.123 318.2)
XYZxyz(8.1690, 5.0700, 15.0133)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E296D #386D29
analogous
#3C296D #5E296D #6D295A
triadic
#5E296D #6D5E29 #296D5E
tetradic
#5E296D #6D3C29 #386D29 #295A6D
square
#5E296D #6D3C29 #386D29 #295A6D
split-complementary
#5E296D #5A6D29 #296D3C
monochromatic
#130816 #381841 #5E296D #843A99 #A652BE

Accessibility & contrast

On white

10.43
#5E296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E296D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E296D#FFFFFF#000000##FFFFFF
##5E296D1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6F
Deuteranopia (green-blind)
#2C416B
Tritanopia (blue-blind)
#5E3447
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e296d;
/* rgb */ color: rgb(94, 41, 109);
/* oklch */ color: oklch(38.5% 0.123 318.2);
Tailwind
colors: {
  custom: {
    50: '#8e6697',
    500: '#5e296d',
    950: '#000000',
  },
}
SCSS
$custom: #5e296d;
$custom-light: #8e6697;
$custom-dark: #000000;
JSON
{
  "hex": "#5e296d",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 286.765,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38528,
    "c": 0.12276,
    "h": 318.2
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E296D

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

Preview Lab → · Contrast checker → · Palette generator →

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