#5B0E53#5B0E53

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

Color values

HEX#5B0E53
RGBrgb(91, 14, 83)
HSLhsl(306, 73%, 21%)
HSVhsv(306, 85%, 36%)
CMYKcmyk(0%, 84.6%, 8.8%, 64.3%)
CIE-LABlab(20.69, 41.32, -22.14)
CIE-LCHlch(20.69, 46.88, 331.82°)
OKLaboklab(33.41% 0.1193 -0.0609)
OKLCHoklch(33.41% 0.134 333)
XYZxyz(6.0328, 3.1633, 8.4748)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E53 #0E5B16
analogous
#3C0E5B #5B0E53 #5B0E2C
triadic
#5B0E53 #535B0E #0E535B
tetradic
#5B0E53 #5B3C0E #0E5B16 #0E2C5B
square
#5B0E53 #5B3C0E #0E5B16 #0E2C5B
split-complementary
#5B0E53 #2C5B0E #0E5B3C
monochromatic
#1B0418 #260623 #5B0E53 #901683 #C51EB4

Accessibility & contrast

On white

12.86
#5B0E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E53
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E53#FFFFFF#000000##FFFFFF
##5B0E531.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b0e53;
/* rgb */ color: rgb(91, 14, 83);
/* oklch */ color: oklch(33.4% 0.134 333.0);
Tailwind
colors: {
  custom: {
    50: '#8c5883',
    500: '#5b0e53',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e53;
$custom-light: #8c5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e53",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 306.234,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33408,
    "c": 0.13393,
    "h": 333
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#5B0E53
secondary
#30953A
accent
#F04B38
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B0E53

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

Preview Lab → · Contrast checker → · Palette generator →

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