#5B2D64#5B2D64

#5B2D64 is a dark, moderate purple. Relative luminance 0.050; OKLCH L 38.2% C 0.104 H 320.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#5B2D64
RGBrgb(91, 45, 100)
HSLhsl(290, 38%, 28%)
HSVhsv(290, 55%, 39%)
CMYKcmyk(9%, 55%, 0%, 60.8%)
CIE-LABlab(26.80, 30.50, -23.74)
CIE-LCHlch(26.80, 38.65, 322.10°)
OKLaboklab(38.17% 0.0808 -0.0657)
OKLCHoklch(38.17% 0.104 320.9)
XYZxyz(7.5528, 5.0213, 12.6255)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2D64 #36642D
analogous
#3F2D64 #5B2D64 #642D51
triadic
#5B2D64 #645B2D #2D645B
tetradic
#5B2D64 #643F2D #36642D #2D5164
square
#5B2D64 #643F2D #36642D #2D5164
split-complementary
#5B2D64 #51642D #2D643F
monochromatic
#130915 #351A3A #5B2D64 #81408E #A558B4

Accessibility & contrast

On white

10.48
#5B2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5B2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2D64
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2D64#FFFFFF#000000##FFFFFF
##5B2D641.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243C66
Deuteranopia (green-blind)
#324162
Tritanopia (blue-blind)
#5C3544
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5b2d64;
/* rgb */ color: rgb(91, 45, 100);
/* oklch */ color: oklch(38.2% 0.104 320.9);
Tailwind
colors: {
  custom: {
    50: '#8b6890',
    500: '#5b2d64',
    950: '#000000',
  },
}
SCSS
$custom: #5b2d64;
$custom-light: #8b6890;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2d64",
  "rgb": {
    "r": 91,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 290.182,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.10419,
    "h": 320.9
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#5B2D64
secondary
#619657
accent
#CE5A6D
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C060C
muted
#7D7A7D

Preview Lab

Preview with #5B2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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