#5B1653#5B1653

#5B1653 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.125 H 333.1°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#5B1653
RGBrgb(91, 22, 83)
HSLhsl(307, 61%, 22%)
HSVhsv(307, 76%, 36%)
CMYKcmyk(0%, 75.8%, 8.8%, 64.3%)
CIE-LABlab(21.66, 38.52, -20.60)
CIE-LCHlch(21.66, 43.69, 331.87°)
OKLaboklab(34.11% 0.1111 -0.0565)
OKLCHoklch(34.11% 0.125 333.1)
XYZxyz(6.1627, 3.4230, 8.5181)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1653 #165B1E
analogous
#41165B #5B1653 #5B1630
triadic
#5B1653 #535B16 #16535B
tetradic
#5B1653 #5B4116 #165B1E #16305B
square
#5B1653 #5B4116 #165B1E #16305B
split-complementary
#5B1653 #305B16 #165B41
monochromatic
#190616 #2A0A26 #5B1653 #8C2280 #BE2EAD

Accessibility & contrast

On white

12.47
#5B1653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5B1653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1653
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1653#FFFFFF#000000##FFFFFF
##5B16531.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132E55
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#5F1D32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b1653;
/* rgb */ color: rgb(91, 22, 83);
/* oklch */ color: oklch(34.1% 0.125 333.1);
Tailwind
colors: {
  custom: {
    50: '#8c5b83',
    500: '#5b1653',
    950: '#000000',
  },
}
SCSS
$custom: #5b1653;
$custom-light: #8c5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1653",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 306.957,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34111,
    "c": 0.12466,
    "h": 333.1
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#5B1653
secondary
#3B9245
accent
#E45644
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B1653

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

Preview Lab → · Contrast checker → · Palette generator →

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