#5B359A#5B359A

#5B359A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.1% C 0.157 H 296.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#5B359A
RGBrgb(91, 53, 154)
HSLhsl(263, 49%, 41%)
HSVhsv(263, 66%, 60%)
CMYKcmyk(40.9%, 65.6%, 0%, 39.6%)
CIE-LABlab(32.04, 39.64, -49.22)
CIE-LCHlch(32.04, 63.20, 308.85°)
OKLaboklab(43.13% 0.0701 -0.1403)
OKLCHoklch(43.13% 0.157 296.5)
XYZxyz(11.4187, 7.1032, 31.3350)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B359A #749A35
analogous
#35429A #5B359A #8D359A
triadic
#5B359A #9A5B35 #359A5B
tetradic
#5B359A #9A3542 #749A35 #359A8D
square
#5B359A #9A3542 #749A35 #359A8D
split-complementary
#5B359A #9A8D35 #429A35
monochromatic
#25163F #40256C #5B359A #774BC1 #9A79D1

Accessibility & contrast

On white

8.68
#5B359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5B359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B359A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B359A#FFFFFF#000000##FFFFFF
##5B359A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#4B4C62
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5b359a;
/* rgb */ color: rgb(91, 53, 154);
/* oklch */ color: oklch(43.1% 0.157 296.5);
Tailwind
colors: {
  custom: {
    50: '#8e6fb8',
    500: '#5b359a',
    950: '#000000',
  },
}
SCSS
$custom: #5b359a;
$custom-light: #8e6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b359a",
  "rgb": {
    "r": 91,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 262.574,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4313,
    "c": 0.15686,
    "h": 296.5
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#5B359A
secondary
#9EB971
accent
#D84FA5
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5B359A

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

Preview Lab → · Contrast checker → · Palette generator →

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