#5B1069#5B1069

#5B1069 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.150 H 320.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#5B1069
RGBrgb(91, 16, 105)
HSLhsl(291, 74%, 24%)
HSVhsv(291, 85%, 41%)
CMYKcmyk(13.3%, 84.8%, 0%, 58.8%)
CIE-LABlab(22.36, 44.75, -34.06)
CIE-LCHlch(22.36, 56.24, 322.72°)
OKLaboklab(35.06% 0.1162 -0.0956)
OKLCHoklch(35.06% 0.15 320.6)
XYZxyz(7.0492, 3.6150, 13.6883)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1069 #1E6910
analogous
#2E1069 #5B1069 #69104A
triadic
#5B1069 #695B10 #10695B
tetradic
#5B1069 #692E10 #1E6910 #104A69
square
#5B1069 #692E10 #1E6910 #104A69
split-complementary
#5B1069 #4A6910 #10692E
monochromatic
#17041B #2D0834 #5B1069 #89189E #B720D3

Accessibility & contrast

On white

12.19
#5B1069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5B1069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1069
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1069#FFFFFF#000000##FFFFFF
##5B10691.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#1B3867
Tritanopia (blue-blind)
#5B243D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b1069;
/* rgb */ color: rgb(91, 16, 105);
/* oklch */ color: oklch(35.1% 0.150 320.6);
Tailwind
colors: {
  custom: {
    50: '#8d5994',
    500: '#5b1069',
    950: '#000000',
  },
}
SCSS
$custom: #5b1069;
$custom-light: #8d5994;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1069",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 290.562,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35061,
    "c": 0.15047,
    "h": 320.6
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#5B1069
secondary
#45A134
accent
#F03855
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5B1069

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

Preview Lab → · Contrast checker → · Palette generator →

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