#5B1053#5B1053

#5B1053 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.132 H 333.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5B1053
RGBrgb(91, 16, 83)
HSLhsl(306, 70%, 21%)
HSVhsv(306, 82%, 36%)
CMYKcmyk(0%, 82.4%, 8.8%, 64.3%)
CIE-LABlab(20.90, 40.69, -21.80)
CIE-LCHlch(20.90, 46.16, 331.82°)
OKLaboklab(33.56% 0.1175 -0.0599)
OKLCHoklch(33.56% 0.132 333)
XYZxyz(6.0610, 3.2198, 8.4842)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1053 #105B18
analogous
#3D105B #5B1053 #5B102D
triadic
#5B1053 #535B10 #10535B
tetradic
#5B1053 #5B3D10 #105B18 #102D5B
square
#5B1053 #5B3D10 #105B18 #102D5B
split-complementary
#5B1053 #2D5B10 #105B3D
monochromatic
#1A0518 #270724 #5B1053 #8F1982 #C322B2

Accessibility & contrast

On white

12.78
#5B1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5B1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1053
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1053#FFFFFF#000000##FFFFFF
##5B10531.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B55
Deuteranopia (green-blind)
#2A3651
Tritanopia (blue-blind)
#5F1831
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1053;
/* rgb */ color: rgb(91, 16, 83);
/* oklch */ color: oklch(33.6% 0.132 333.0);
Tailwind
colors: {
  custom: {
    50: '#8c5883',
    500: '#5b1053',
    950: '#000000',
  },
}
SCSS
$custom: #5b1053;
$custom-light: #8c5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1053",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 306.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33564,
    "c": 0.13185,
    "h": 333
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#5B1053
secondary
#33943D
accent
#ED4E3B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B1053

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

Preview Lab → · Contrast checker → · Palette generator →

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