#5C366D#5C366D

#5C366D is a dark, moderate purple. Relative luminance 0.060; OKLCH L 40.3% C 0.099 H 314.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#5C366D
RGBrgb(92, 54, 109)
HSLhsl(281, 34%, 32%)
HSVhsv(281, 50%, 43%)
CMYKcmyk(15.6%, 50.5%, 0%, 57.3%)
CIE-LABlab(29.46, 27.59, -25.33)
CIE-LCHlch(29.46, 37.45, 317.45°)
OKLaboklab(40.33% 0.0694 -0.0704)
OKLCHoklch(40.33% 0.099 314.6)
XYZxyz(8.4927, 6.0180, 15.1792)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C366D #476D36
analogous
#41366D #5C366D #6D3663
triadic
#5C366D #6D5C36 #366D5C
tetradic
#5C366D #6D4136 #476D36 #36636D
square
#5C366D #6D4136 #476D36 #36636D
split-complementary
#5C366D #636D36 #366D41
monochromatic
#170D1B #392244 #5C366D #7F4A96 #9D69B5

Accessibility & contrast

On white

9.53
#5C366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5C366D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C366D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C366D#FFFFFF#000000##FFFFFF
##5C366D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#35466B
Tritanopia (blue-blind)
#5B3E4C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c366d;
/* rgb */ color: rgb(92, 54, 109);
/* oklch */ color: oklch(40.3% 0.099 314.6);
Tailwind
colors: {
  custom: {
    50: '#8b6e97',
    500: '#5c366d',
    950: '#000000',
  },
}
SCSS
$custom: #5c366d;
$custom-light: #8b6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#5c366d",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 281.455,
    "s": 33.742,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40327,
    "c": 0.09881,
    "h": 314.6
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#5C366D
secondary
#749D61
accent
#CA5E7F
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5C366D

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

Preview Lab → · Contrast checker → · Palette generator →

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