#5B3363#5B3363

#5B3363 is a dark, moderate purple. Relative luminance 0.055; OKLCH L 39.1% C 0.092 H 320.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#5B3363
RGBrgb(91, 51, 99)
HSLhsl(290, 32%, 29%)
HSVhsv(290, 48%, 39%)
CMYKcmyk(8.1%, 48.5%, 0%, 61.2%)
CIE-LABlab(28.10, 26.75, -21.06)
CIE-LCHlch(28.10, 34.04, 321.79°)
OKLaboklab(39.11% 0.0711 -0.0581)
OKLCHoklch(39.11% 0.092 320.8)
XYZxyz(7.7501, 5.4929, 12.4540)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3363 #3B6333
analogous
#433363 #5B3363 #633353
triadic
#5B3363 #635B33 #33635B
tetradic
#5B3363 #634333 #3B6333 #335363
square
#5B3363 #634333 #3B6333 #335363
split-complementary
#5B3363 #536333 #336343
monochromatic
#130A14 #361E3B #5B3363 #80488B #A262AE

Accessibility & contrast

On white

10.01
#5B3363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5B3363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3363
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3363#FFFFFF#000000##FFFFFF
##5B33631.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F65
Deuteranopia (green-blind)
#374462
Tritanopia (blue-blind)
#5C3946
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5b3363;
/* rgb */ color: rgb(91, 51, 99);
/* oklch */ color: oklch(39.1% 0.092 320.8);
Tailwind
colors: {
  custom: {
    50: '#8a6c8f',
    500: '#5b3363',
    950: '#000000',
  },
}
SCSS
$custom: #5b3363;
$custom-light: #8a6c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3363",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 99
  },
  "hsl": {
    "h": 290,
    "s": 32,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.09179,
    "h": 320.8
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#5B3363
secondary
#67945E
accent
#C86071
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C070C
muted
#7D7A7D

Preview Lab

Preview with #5B3363

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

Preview Lab → · Contrast checker → · Palette generator →

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