#5E296A#5E296A

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

Color values

HEX#5E296A
RGBrgb(94, 41, 106)
HSLhsl(289, 44%, 29%)
HSVhsv(289, 61%, 42%)
CMYKcmyk(11.3%, 61.3%, 0%, 58.4%)
CIE-LABlab(26.75, 34.93, -27.66)
CIE-LCHlch(26.75, 44.56, 321.63°)
OKLaboklab(38.34% 0.0914 -0.077)
OKLCHoklch(38.34% 0.12 319.9)
XYZxyz(8.0102, 5.0065, 14.1773)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E296A #356A29
analogous
#3E296A #5E296A #6A2956
triadic
#5E296A #6A5E29 #296A5E
tetradic
#5E296A #6A3E29 #356A29 #29566A
square
#5E296A #6A3E29 #356A29 #29566A
split-complementary
#5E296A #566A29 #296A3E
monochromatic
#140916 #37183E #5E296A #853A96 #A852BC

Accessibility & contrast

On white

10.49
#5E296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E296A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E296A#FFFFFF#000000##FFFFFF
##5E296A1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#2E4168
Tritanopia (blue-blind)
#5E3345
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e296a;
/* rgb */ color: rgb(94, 41, 106);
/* oklch */ color: oklch(38.3% 0.119 319.9);
Tailwind
colors: {
  custom: {
    50: '#8e6695',
    500: '#5e296a',
    950: '#000000',
  },
}
SCSS
$custom: #5e296a;
$custom-light: #8e6695;
$custom-dark: #000000;
JSON
{
  "hex": "#5e296a",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 288.923,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38339,
    "c": 0.1195,
    "h": 319.9
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#5E296A
secondary
#609C52
accent
#D4546C
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5E296A

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

Preview Lab → · Contrast checker → · Palette generator →

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