#5B2373#5B2373

#5B2373 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.7% C 0.137 H 314.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#5B2373
RGBrgb(91, 35, 115)
HSLhsl(282, 53%, 29%)
HSVhsv(282, 70%, 45%)
CMYKcmyk(20.9%, 69.6%, 0%, 54.9%)
CIE-LABlab(25.76, 39.23, -35.05)
CIE-LCHlch(25.76, 52.60, 318.22°)
OKLaboklab(37.71% 0.0953 -0.0986)
OKLCHoklch(37.71% 0.137 314)
XYZxyz(8.0094, 4.6643, 16.6947)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2373 #3B7323
analogous
#332373 #5B2373 #732363
triadic
#5B2373 #735B23 #23735B
tetradic
#5B2373 #733323 #3B7323 #236373
square
#5B2373 #733323 #3B7323 #236373
split-complementary
#5B2373 #637323 #237333
monochromatic
#130717 #361544 #5B2373 #8031A2 #A249C8

Accessibility & contrast

On white

10.87
#5B2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5B2373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2373
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2373#FFFFFF#000000##FFFFFF
##5B23731.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#1F3E71
Tritanopia (blue-blind)
#593348
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5b2373;
/* rgb */ color: rgb(91, 35, 115);
/* oklch */ color: oklch(37.7% 0.137 314.0);
Tailwind
colors: {
  custom: {
    50: '#8c639c',
    500: '#5b2373',
    950: '#000000',
  },
}
SCSS
$custom: #5b2373;
$custom-light: #8c639c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2373",
  "rgb": {
    "r": 91,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 282,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37707,
    "c": 0.13718,
    "h": 314
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#5B2373
secondary
#67A64C
accent
#DD4B77
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #5B2373

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

Preview Lab → · Contrast checker → · Palette generator →

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