#5B0D53#5B0D53

#5B0D53 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.135 H 333.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5B0D53
RGBrgb(91, 13, 83)
HSLhsl(306, 75%, 20%)
HSVhsv(306, 86%, 36%)
CMYKcmyk(0%, 85.7%, 8.8%, 64.3%)
CIE-LABlab(20.58, 41.61, -22.30)
CIE-LCHlch(20.58, 47.21, 331.81°)
OKLaboklab(33.34% 0.1202 -0.0613)
OKLCHoklch(33.34% 0.135 333)
XYZxyz(6.0197, 3.1371, 8.4704)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0D53 #0D5B15
analogous
#3C0D5B #5B0D53 #5B0D2C
triadic
#5B0D53 #535B0D #0D535B
tetradic
#5B0D53 #5B3C0D #0D5B15 #0D2C5B
square
#5B0D53 #5B3C0D #0D5B15 #0D2C5B
split-complementary
#5B0D53 #2C5B0D #0D5B3C
monochromatic
#1B0418 #250522 #5B0D53 #911584 #C61CB5

Accessibility & contrast

On white

12.90
#5B0D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5B0D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0D53
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0D53#FFFFFF#000000##FFFFFF
##5B0D531.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082B55
Deuteranopia (green-blind)
#293551
Tritanopia (blue-blind)
#5F1730
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b0d53;
/* rgb */ color: rgb(91, 13, 83);
/* oklch */ color: oklch(33.3% 0.135 333.0);
Tailwind
colors: {
  custom: {
    50: '#8c5783',
    500: '#5b0d53',
    950: '#000000',
  },
}
SCSS
$custom: #5b0d53;
$custom-light: #8c5783;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0d53",
  "rgb": {
    "r": 91,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 306.154,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33336,
    "c": 0.1349,
    "h": 333
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#5B0D53
secondary
#2F9539
accent
#F24936
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B0D53

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

Preview Lab → · Contrast checker → · Palette generator →

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