#5B3A67#5B3A67

#5B3A67 is a dark, moderate purple. Relative luminance 0.062; OKLCH L 40.6% C 0.083 H 316.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#5B3A67
RGBrgb(91, 58, 103)
HSLhsl(284, 28%, 32%)
HSVhsv(284, 44%, 40%)
CMYKcmyk(11.7%, 43.7%, 0%, 59.6%)
CIE-LABlab(29.98, 23.40, -20.68)
CIE-LCHlch(29.98, 31.23, 318.53°)
OKLaboklab(40.59% 0.0604 -0.057)
OKLCHoklch(40.59% 0.083 316.6)
XYZxyz(8.2753, 6.2298, 13.5959)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3A67 #46673A
analogous
#453A67 #5B3A67 #673A5D
triadic
#5B3A67 #675B3A #3A675B
tetradic
#5B3A67 #67453A #46673A #3A5D67
square
#5B3A67 #67453A #46673A #3A5D67
split-complementary
#5B3A67 #5D673A #3A6745
monochromatic
#160E19 #382440 #5B3A67 #7E508E #9C6EAD

Accessibility & contrast

On white

9.35
#5B3A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5B3A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3A67
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3A67#FFFFFF#000000##FFFFFF
##5B3A671.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334569
Deuteranopia (green-blind)
#3B4866
Tritanopia (blue-blind)
#5B404B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5b3a67;
/* rgb */ color: rgb(91, 58, 103);
/* oklch */ color: oklch(40.6% 0.083 316.6);
Tailwind
colors: {
  custom: {
    50: '#8a7192',
    500: '#5b3a67',
    950: '#000000',
  },
}
SCSS
$custom: #5b3a67;
$custom-light: #8a7192;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3a67",
  "rgb": {
    "r": 91,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 284,
    "s": 27.95,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40591,
    "c": 0.08308,
    "h": 316.6
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#5B3A67
secondary
#739766
accent
#C4647D
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C070D
muted
#7D7A7E

Preview Lab

Preview with #5B3A67

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

Preview Lab → · Contrast checker → · Palette generator →

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