#5E405E#5E405E

#5E405E is a dark, moderate purple. Relative luminance 0.069; OKLCH L 41.7% C 0.062 H 326.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#5E405E
RGBrgb(94, 64, 94)
HSLhsl(300, 19%, 31%)
HSVhsv(300, 32%, 37%)
CMYKcmyk(0%, 31.9%, 0%, 63.1%)
CIE-LABlab(31.47, 18.70, -12.59)
CIE-LCHlch(31.47, 22.54, 326.05°)
OKLaboklab(41.67% 0.0517 -0.0341)
OKLCHoklch(41.67% 0.062 326.6)
XYZxyz(8.4697, 6.8549, 11.4645)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E405E #405E40
analogous
#4F405E #5E405E #5E404F
triadic
#5E405E #5E5E40 #405E5E
tetradic
#5E405E #5E4F40 #405E40 #404F5E
square
#5E405E #5E4F40 #405E40 #404F5E
split-complementary
#5E405E #4F5E40 #405E4F
monochromatic
#150E15 #3A273A #5E405E #825982 #A276A2

Accessibility & contrast

On white

8.86
#5E405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5E405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E405E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E405E#FFFFFF#000000##FFFFFF
##5E405E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E485F
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#60434B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e405e;
/* rgb */ color: rgb(94, 64, 94);
/* oklch */ color: oklch(41.7% 0.062 326.6);
Tailwind
colors: {
  custom: {
    50: '#8c758b',
    500: '#5e405e',
    950: '#000000',
  },
}
SCSS
$custom: #5e405e;
$custom-light: #8c758b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e405e",
  "rgb": {
    "r": 94,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 300,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41666,
    "c": 0.06192,
    "h": 326.6
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#5E405E
secondary
#6C8D6C
accent
#BC6C6C
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #5E405E

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

Preview Lab → · Contrast checker → · Palette generator →

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