#5B2A67#5B2A67

#5B2A67 is a dark, moderate purple. Relative luminance 0.049; OKLCH L 37.9% C 0.113 H 319.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#5B2A67
RGBrgb(91, 42, 103)
HSLhsl(288, 42%, 28%)
HSVhsv(288, 59%, 40%)
CMYKcmyk(11.7%, 59.2%, 0%, 59.6%)
CIE-LABlab(26.33, 32.85, -26.42)
CIE-LCHlch(26.33, 42.16, 321.20°)
OKLaboklab(37.88% 0.0857 -0.0735)
OKLCHoklch(37.88% 0.113 319.4)
XYZxyz(7.5902, 4.8597, 13.3675)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2A67 #36672A
analogous
#3C2A67 #5B2A67 #672A54
triadic
#5B2A67 #675B2A #2A675B
tetradic
#5B2A67 #673C2A #36672A #2A5467
square
#5B2A67 #673C2A #36672A #2A5467
split-complementary
#5B2A67 #54672A #2A673C
monochromatic
#130916 #35183C #5B2A67 #813C92 #A553B9

Accessibility & contrast

On white

10.65
#5B2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5B2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2A67
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2A67#FFFFFF#000000##FFFFFF
##5B2A671.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B69
Deuteranopia (green-blind)
#2E4065
Tritanopia (blue-blind)
#5B3344
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5b2a67;
/* rgb */ color: rgb(91, 42, 103);
/* oklch */ color: oklch(37.9% 0.113 319.4);
Tailwind
colors: {
  custom: {
    50: '#8b6693',
    500: '#5b2a67',
    950: '#000000',
  },
}
SCSS
$custom: #5b2a67;
$custom-light: #8b6693;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2a67",
  "rgb": {
    "r": 91,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 288.197,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37879,
    "c": 0.11289,
    "h": 319.4
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#5B2A67
secondary
#619954
accent
#D2566E
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5B2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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