#5C366A#5C366A

#5C366A is a dark, moderate purple. Relative luminance 0.060; OKLCH L 40.2% C 0.095 H 316.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#5C366A
RGBrgb(92, 54, 106)
HSLhsl(284, 33%, 31%)
HSVhsv(284, 49%, 42%)
CMYKcmyk(13.2%, 49.1%, 0%, 58.4%)
CIE-LABlab(29.30, 26.88, -23.66)
CIE-LCHlch(29.30, 35.81, 318.64°)
OKLaboklab(40.16% 0.0689 -0.0656)
OKLCHoklch(40.16% 0.095 316.4)
XYZxyz(8.3339, 5.9545, 14.3432)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C366A #446A36
analogous
#42366A #5C366A #6A365E
triadic
#5C366A #6A5C36 #366A5C
tetradic
#5C366A #6A4236 #446A36 #365E6A
square
#5C366A #6A4236 #446A36 #365E6A
split-complementary
#5C366A #5E6A36 #366A42
monochromatic
#160D19 #392141 #5C366A #7F4B93 #9E68B2

Accessibility & contrast

On white

9.59
#5C366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5C366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C366A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C366A#FFFFFF#000000##FFFFFF
##5C366A1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436C
Deuteranopia (green-blind)
#374669
Tritanopia (blue-blind)
#5B3D4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c366a;
/* rgb */ color: rgb(92, 54, 106);
/* oklch */ color: oklch(40.2% 0.095 316.4);
Tailwind
colors: {
  custom: {
    50: '#8b6e95',
    500: '#5c366a',
    950: '#000000',
  },
}
SCSS
$custom: #5c366a;
$custom-light: #8b6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#5c366a",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 283.846,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40155,
    "c": 0.09509,
    "h": 316.4
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#5C366A
secondary
#719B61
accent
#C95F7C
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5C366A

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

Preview Lab → · Contrast checker → · Palette generator →

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