#5C366E#5C366E

#5C366E is a dark, moderate purple. Relative luminance 0.060; OKLCH L 40.4% C 0.100 H 314.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#5C366E
RGBrgb(92, 54, 110)
HSLhsl(281, 34%, 32%)
HSVhsv(281, 51%, 43%)
CMYKcmyk(16.4%, 50.9%, 0%, 56.9%)
CIE-LABlab(29.51, 27.83, -25.88)
CIE-LCHlch(29.51, 38.01, 317.08°)
OKLaboklab(40.39% 0.0695 -0.072)
OKLCHoklch(40.39% 0.1 314)
XYZxyz(8.5468, 6.0396, 15.4644)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C366E #486E36
analogous
#40366E #5C366E #6E3664
triadic
#5C366E #6E5C36 #366E5C
tetradic
#5C366E #6E4036 #486E36 #36646E
square
#5C366E #6E4036 #486E36 #36646E
split-complementary
#5C366E #646E36 #366E40
monochromatic
#170E1C #3A2245 #5C366E #7E4A97 #9D69B5

Accessibility & contrast

On white

9.51
#5C366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C366E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C366E#FFFFFF#000000##FFFFFF
##5C366E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4370
Deuteranopia (green-blind)
#35476C
Tritanopia (blue-blind)
#5B3F4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c366e;
/* rgb */ color: rgb(92, 54, 110);
/* oklch */ color: oklch(40.4% 0.100 314.0);
Tailwind
colors: {
  custom: {
    50: '#8b6e98',
    500: '#5c366e',
    950: '#000000',
  },
}
SCSS
$custom: #5c366e;
$custom-light: #8b6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#5c366e",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 280.714,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.10006,
    "h": 314
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#5C366E
secondary
#759E62
accent
#CA5E80
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5C366E

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

Preview Lab → · Contrast checker → · Palette generator →

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