#5E4060#5E4060

#5E4060 is a dark, moderate purple. Relative luminance 0.069; OKLCH L 41.8% C 0.064 H 324.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#5E4060
RGBrgb(94, 64, 96)
HSLhsl(296, 20%, 31%)
HSVhsv(296, 33%, 38%)
CMYKcmyk(2.1%, 33.3%, 0%, 62.4%)
CIE-LABlab(31.56, 19.13, -13.74)
CIE-LCHlch(31.56, 23.56, 324.32°)
OKLaboklab(41.76% 0.0523 -0.0373)
OKLCHoklch(41.76% 0.064 324.5)
XYZxyz(8.5606, 6.8913, 11.9433)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4060 #426040
analogous
#4E4060 #5E4060 #604052
triadic
#5E4060 #605E40 #40605E
tetradic
#5E4060 #604E40 #426040 #405260
square
#5E4060 #604E40 #426040 #405260
split-complementary
#5E4060 #526040 #40604E
monochromatic
#160F17 #3A283B #5E4060 #825885 #A176A4

Accessibility & contrast

On white

8.83
#5E4060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5E4060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4060
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4060#FFFFFF#000000##FFFFFF
##5E40601.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4861
Deuteranopia (green-blind)
#444C5F
Tritanopia (blue-blind)
#5F434C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e4060;
/* rgb */ color: rgb(94, 64, 96);
/* oklch */ color: oklch(41.8% 0.064 324.5);
Tailwind
colors: {
  custom: {
    50: '#8c758d',
    500: '#5e4060',
    950: '#000000',
  },
}
SCSS
$custom: #5e4060;
$custom-light: #8c758d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4060",
  "rgb": {
    "r": 94,
    "g": 64,
    "b": 96
  },
  "hsl": {
    "h": 296.25,
    "s": 20,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.06427,
    "h": 324.5
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#5E4060
secondary
#6E906C
accent
#BD6B70
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #5E4060

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

Preview Lab → · Contrast checker → · Palette generator →

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