#5B356A#5B356A

#5B356A is a dark, moderate purple. Relative luminance 0.058; OKLCH L 39.9% C 0.096 H 315.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#5B356A
RGBrgb(91, 53, 106)
HSLhsl(283, 33%, 31%)
HSVhsv(283, 50%, 42%)
CMYKcmyk(14.2%, 50%, 0%, 58.4%)
CIE-LABlab(28.93, 27.16, -24.25)
CIE-LCHlch(28.93, 36.41, 318.24°)
OKLaboklab(39.85% 0.0691 -0.0673)
OKLCHoklch(39.85% 0.096 315.8)
XYZxyz(8.1886, 5.8112, 14.3232)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B356A #446A35
analogous
#40356A #5B356A #6A355E
triadic
#5B356A #6A5B35 #356A5B
tetradic
#5B356A #6A4035 #446A35 #355E6A
square
#5B356A #6A4035 #446A35 #355E6A
split-complementary
#5B356A #5E6A35 #356A40
monochromatic
#150C18 #382141 #5B356A #7E4993 #9D67B3

Accessibility & contrast

On white

9.71
#5B356A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5B356A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B356A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B356A#FFFFFF#000000##FFFFFF
##5B356A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b356a;
/* rgb */ color: rgb(91, 53, 106);
/* oklch */ color: oklch(39.9% 0.096 315.8);
Tailwind
colors: {
  custom: {
    50: '#8b6d95',
    500: '#5b356a',
    950: '#000000',
  },
}
SCSS
$custom: #5b356a;
$custom-light: #8b6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#5b356a",
  "rgb": {
    "r": 91,
    "g": 53,
    "b": 106
  },
  "hsl": {
    "h": 283.019,
    "s": 33.333,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39854,
    "c": 0.09645,
    "h": 315.8
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#5B356A
secondary
#719B60
accent
#C95E7D
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5B356A

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

Preview Lab → · Contrast checker → · Palette generator →

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