#5B0E55#5B0E55

#5B0E55 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.136 H 331.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#5B0E55
RGBrgb(91, 14, 85)
HSLhsl(305, 73%, 21%)
HSVhsv(305, 85%, 36%)
CMYKcmyk(0%, 84.6%, 6.6%, 64.3%)
CIE-LABlab(20.81, 41.66, -23.30)
CIE-LCHlch(20.81, 47.73, 330.78°)
OKLaboklab(33.53% 0.1193 -0.0642)
OKLCHoklch(33.53% 0.136 331.7)
XYZxyz(6.1111, 3.1946, 8.8873)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E55 #0E5B14
analogous
#3A0E5B #5B0E55 #5B0E2E
triadic
#5B0E55 #555B0E #0E555B
tetradic
#5B0E55 #5B3A0E #0E5B14 #0E2E5B
square
#5B0E55 #5B3A0E #0E5B14 #0E2E5B
split-complementary
#5B0E55 #2E5B0E #0E5B3A
monochromatic
#1B0419 #260623 #5B0E55 #901687 #C51EB8

Accessibility & contrast

On white

12.81
#5B0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E55
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E55#FFFFFF#000000##FFFFFF
##5B0E551.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062B57
Deuteranopia (green-blind)
#283653
Tritanopia (blue-blind)
#5F1831
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b0e55;
/* rgb */ color: rgb(91, 14, 85);
/* oklch */ color: oklch(33.5% 0.136 331.7);
Tailwind
colors: {
  custom: {
    50: '#8c5885',
    500: '#5b0e55',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e55;
$custom-light: #8c5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e55",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 304.675,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33534,
    "c": 0.13551,
    "h": 331.7
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#5B0E55
secondary
#309538
accent
#F04638
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5B0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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