#5E366A#5E366A

#5E366A is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.4% C 0.096 H 318.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#5E366A
RGBrgb(94, 54, 106)
HSLhsl(286, 33%, 31%)
HSVhsv(286, 49%, 42%)
CMYKcmyk(11.3%, 49.1%, 0%, 58.4%)
CIE-LABlab(29.56, 27.53, -23.23)
CIE-LCHlch(29.56, 36.03, 319.84°)
OKLaboklab(40.41% 0.0716 -0.0643)
OKLCHoklch(40.41% 0.096 318.1)
XYZxyz(8.5364, 6.0589, 14.3527)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E366A #426A36
analogous
#44366A #5E366A #6A365C
triadic
#5E366A #6A5E36 #366A5E
tetradic
#5E366A #6A4436 #426A36 #365C6A
square
#5E366A #6A4436 #426A36 #365C6A
split-complementary
#5E366A #5C6A36 #366A44
monochromatic
#160D19 #3A2141 #5E366A #824B93 #A168B2

Accessibility & contrast

On white

9.49
#5E366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5E366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E366A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E366A#FFFFFF#000000##FFFFFF
##5E366A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#384769
Tritanopia (blue-blind)
#5E3D4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e366a;
/* rgb */ color: rgb(94, 54, 106);
/* oklch */ color: oklch(40.4% 0.096 318.1);
Tailwind
colors: {
  custom: {
    50: '#8d6e95',
    500: '#5e366a',
    950: '#000000',
  },
}
SCSS
$custom: #5e366a;
$custom-light: #8d6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#5e366a",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 286.154,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.09618,
    "h": 318.1
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#5E366A
secondary
#6E9B61
accent
#C95F77
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5E366A

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

Preview Lab → · Contrast checker → · Palette generator →

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