#5B1067#5B1067

#5B1067 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.149 H 321.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#5B1067
RGBrgb(91, 16, 103)
HSLhsl(292, 73%, 23%)
HSVhsv(292, 84%, 40%)
CMYKcmyk(11.7%, 84.5%, 0%, 59.6%)
CIE-LABlab(22.21, 44.35, -32.99)
CIE-LCHlch(22.21, 55.28, 323.36°)
OKLaboklab(34.91% 0.1165 -0.0924)
OKLCHoklch(34.91% 0.149 321.6)
XYZxyz(6.9476, 3.5744, 13.1533)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1067 #1C6710
analogous
#2F1067 #5B1067 #671047
triadic
#5B1067 #675B10 #10675B
tetradic
#5B1067 #672F10 #1C6710 #104767
square
#5B1067 #672F10 #1C6710 #104767
split-complementary
#5B1067 #476710 #10672F
monochromatic
#17041A #2C0832 #5B1067 #8A189C #B920D1

Accessibility & contrast

On white

12.25
#5B1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5B1067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1067
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1067#FFFFFF#000000##FFFFFF
##5B10671.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#1D3865
Tritanopia (blue-blind)
#5C233C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b1067;
/* rgb */ color: rgb(91, 16, 103);
/* oklch */ color: oklch(34.9% 0.149 321.6);
Tailwind
colors: {
  custom: {
    50: '#8d5993',
    500: '#5b1067',
    950: '#000000',
  },
}
SCSS
$custom: #5b1067;
$custom-light: #8d5993;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1067",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 291.724,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34913,
    "c": 0.14872,
    "h": 321.6
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#5B1067
secondary
#429F33
accent
#F03851
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5B1067

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

Preview Lab → · Contrast checker → · Palette generator →

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