#5C356A#5C356A

#5C356A is a dark, moderate purple. Relative luminance 0.059; OKLCH L 40.0% C 0.097 H 316.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#5C356A
RGBrgb(92, 53, 106)
HSLhsl(284, 33%, 31%)
HSVhsv(284, 50%, 42%)
CMYKcmyk(13.2%, 50%, 0%, 58.4%)
CIE-LABlab(29.06, 27.48, -24.03)
CIE-LCHlch(29.06, 36.51, 318.83°)
OKLaboklab(39.98% 0.0705 -0.0666)
OKLCHoklch(39.98% 0.097 316.6)
XYZxyz(8.2879, 5.8624, 14.3278)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C356A #436A35
analogous
#41356A #5C356A #6A355D
triadic
#5C356A #6A5C35 #356A5C
tetradic
#5C356A #6A4135 #436A35 #355D6A
square
#5C356A #6A4135 #436A35 #355D6A
split-complementary
#5C356A #5D6A35 #356A41
monochromatic
#150C18 #392141 #5C356A #7F4993 #9F67B3

Accessibility & contrast

On white

9.67
#5C356A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5C356A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C356A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C356A#FFFFFF#000000##FFFFFF
##5C356A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#364669
Tritanopia (blue-blind)
#5C3D4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c356a;
/* rgb */ color: rgb(92, 53, 106);
/* oklch */ color: oklch(40.0% 0.097 316.6);
Tailwind
colors: {
  custom: {
    50: '#8b6d95',
    500: '#5c356a',
    950: '#000000',
  },
}
SCSS
$custom: #5c356a;
$custom-light: #8b6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#5c356a",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 106
  },
  "hsl": {
    "h": 284.151,
    "s": 33.333,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.09698,
    "h": 316.6
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#5C356A
secondary
#709B60
accent
#C95E7B
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5C356A

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

Preview Lab → · Contrast checker → · Palette generator →

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