#5B1055#5B1055

#5B1055 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.133 H 331.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5B1055
RGBrgb(91, 16, 85)
HSLhsl(305, 70%, 21%)
HSVhsv(305, 82%, 36%)
CMYKcmyk(0%, 82.4%, 6.6%, 64.3%)
CIE-LABlab(21.02, 41.04, -22.95)
CIE-LCHlch(21.02, 47.02, 330.78°)
OKLaboklab(33.69% 0.1175 -0.0632)
OKLCHoklch(33.69% 0.133 331.7)
XYZxyz(6.1394, 3.2511, 8.8967)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1055 #105B16
analogous
#3B105B #5B1055 #5B102F
triadic
#5B1055 #555B10 #10555B
tetradic
#5B1055 #5B3B10 #105B16 #102F5B
square
#5B1055 #5B3B10 #105B16 #102F5B
split-complementary
#5B1055 #2F5B10 #105B3B
monochromatic
#1A0518 #270724 #5B1055 #8F1986 #C322B6

Accessibility & contrast

On white

12.73
#5B1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5B1055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1055
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1055#FFFFFF#000000##FFFFFF
##5B10551.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C57
Deuteranopia (green-blind)
#293653
Tritanopia (blue-blind)
#5F1A32
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b1055;
/* rgb */ color: rgb(91, 16, 85);
/* oklch */ color: oklch(33.7% 0.133 331.7);
Tailwind
colors: {
  custom: {
    50: '#8c5885',
    500: '#5b1055',
    950: '#000000',
  },
}
SCSS
$custom: #5b1055;
$custom-light: #8c5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1055",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 304.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33688,
    "c": 0.13346,
    "h": 331.7
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#5B1055
secondary
#33943A
accent
#ED493B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5B1055

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

Preview Lab → · Contrast checker → · Palette generator →

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