#5B2B60#5B2B60

#5B2B60 is a dark, moderate purple. Relative luminance 0.048; OKLCH L 37.6% C 0.103 H 323.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#5B2B60
RGBrgb(91, 43, 96)
HSLhsl(294, 38%, 27%)
HSVhsv(294, 55%, 38%)
CMYKcmyk(5.2%, 55.2%, 0%, 62.4%)
CIE-LABlab(26.15, 30.76, -22.16)
CIE-LCHlch(26.15, 37.91, 324.23°)
OKLaboklab(37.62% 0.0834 -0.0612)
OKLCHoklch(37.62% 0.103 323.7)
XYZxyz(7.2894, 4.7968, 11.6060)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2B60 #30602B
analogous
#412B60 #5B2B60 #602B4A
triadic
#5B2B60 #605B2B #2B605B
tetradic
#5B2B60 #60412B #30602B #2B4A60
square
#5B2B60 #60412B #30602B #2B4A60
split-complementary
#5B2B60 #4A602B #2B6041
monochromatic
#140915 #331836 #5B2B60 #833E8A #A953B2

Accessibility & contrast

On white

10.72
#5B2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5B2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2B60
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2B60#FFFFFF#000000##FFFFFF
##5B2B601.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A62
Deuteranopia (green-blind)
#33405E
Tritanopia (blue-blind)
#5D3241
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5b2b60;
/* rgb */ color: rgb(91, 43, 96);
/* oklch */ color: oklch(37.6% 0.103 323.7);
Tailwind
colors: {
  custom: {
    50: '#8b678d',
    500: '#5b2b60',
    950: '#000000',
  },
}
SCSS
$custom: #5b2b60;
$custom-light: #8b678d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2b60",
  "rgb": {
    "r": 91,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 294.34,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37616,
    "c": 0.1034,
    "h": 323.7
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#5B2B60
secondary
#5A9255
accent
#CE5A65
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C060C
muted
#7D7A7D

Preview Lab

Preview with #5B2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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