#5E366F#5E366F

#5E366F is a dark, moderate purple. Relative luminance 0.062; OKLCH L 40.7% C 0.102 H 315.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5E366F
RGBrgb(94, 54, 111)
HSLhsl(282, 35%, 32%)
HSVhsv(282, 51%, 44%)
CMYKcmyk(15.3%, 51.4%, 0%, 56.5%)
CIE-LABlab(29.83, 28.70, -26.00)
CIE-LCHlch(29.83, 38.73, 317.82°)
OKLaboklab(40.7% 0.0724 -0.0723)
OKLCHoklch(40.7% 0.102 315)
XYZxyz(8.8041, 6.1660, 15.7622)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E366F #476F36
analogous
#42366F #5E366F #6F3664
triadic
#5E366F #6F5E36 #366F5E
tetradic
#5E366F #6F4236 #476F36 #36646F
square
#5E366F #6F4236 #476F36 #36646F
split-complementary
#5E366F #646F36 #366F42
monochromatic
#180E1D #3B2246 #5E366F #814A98 #9F69B6

Accessibility & contrast

On white

9.40
#5E366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E366F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E366F#FFFFFF#000000##FFFFFF
##5E366F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4471
Deuteranopia (green-blind)
#36476D
Tritanopia (blue-blind)
#5D3F4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e366f;
/* rgb */ color: rgb(94, 54, 111);
/* oklch */ color: oklch(40.7% 0.102 315.0);
Tailwind
colors: {
  custom: {
    50: '#8d6e98',
    500: '#5e366f',
    950: '#000000',
  },
}
SCSS
$custom: #5e366f;
$custom-light: #8d6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#5e366f",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 282.105,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.10228,
    "h": 315
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#5E366F
secondary
#749F62
accent
#CB5D7E
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #5E366F

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

Preview Lab → · Contrast checker → · Palette generator →

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