#5E366E#5E366E

#5E366E is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.6% C 0.101 H 315.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5E366E
RGBrgb(94, 54, 110)
HSLhsl(283, 34%, 32%)
HSVhsv(283, 51%, 43%)
CMYKcmyk(14.5%, 50.9%, 0%, 56.9%)
CIE-LABlab(29.77, 28.46, -25.45)
CIE-LCHlch(29.77, 38.18, 318.20°)
OKLaboklab(40.64% 0.0722 -0.0707)
OKLCHoklch(40.64% 0.101 315.6)
XYZxyz(8.7493, 6.1441, 15.4739)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E366E #466E36
analogous
#42366E #5E366E #6E3662
triadic
#5E366E #6E5E36 #366E5E
tetradic
#5E366E #6E4236 #466E36 #36626E
square
#5E366E #6E4236 #466E36 #36626E
split-complementary
#5E366E #626E36 #366E42
monochromatic
#180E1C #3B2245 #5E366E #814A97 #A069B5

Accessibility & contrast

On white

9.42
#5E366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5E366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E366E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E366E#FFFFFF#000000##FFFFFF
##5E366E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4470
Deuteranopia (green-blind)
#36476C
Tritanopia (blue-blind)
#5D3E4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e366e;
/* rgb */ color: rgb(94, 54, 110);
/* oklch */ color: oklch(40.6% 0.101 315.6);
Tailwind
colors: {
  custom: {
    50: '#8d6e98',
    500: '#5e366e',
    950: '#000000',
  },
}
SCSS
$custom: #5e366e;
$custom-light: #8d6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#5e366e",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 282.857,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.10105,
    "h": 315.6
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#5E366E
secondary
#739E62
accent
#CA5E7D
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5E366E

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

Preview Lab → · Contrast checker → · Palette generator →

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