#5B1065#5B1065

#5B1065 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.147 H 322.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#5B1065
RGBrgb(91, 16, 101)
HSLhsl(293, 73%, 23%)
HSVhsv(293, 84%, 40%)
CMYKcmyk(9.9%, 84.2%, 0%, 60.4%)
CIE-LABlab(22.07, 43.97, -31.90)
CIE-LCHlch(22.07, 54.32, 324.03°)
OKLaboklab(34.77% 0.1167 -0.0893)
OKLCHoklch(34.77% 0.147 322.6)
XYZxyz(6.8484, 3.5347, 12.6309)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1065 #1A6510
analogous
#301065 #5B1065 #651044
triadic
#5B1065 #655B10 #10655B
tetradic
#5B1065 #653010 #1A6510 #104465
square
#5B1065 #653010 #1A6510 #104465
split-complementary
#5B1065 #446510 #106530
monochromatic
#18041A #2B0830 #5B1065 #8B189A #BA21CF

Accessibility & contrast

On white

12.30
#5B1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1065
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1065#FFFFFF#000000##FFFFFF
##5B10651.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#1E3863
Tritanopia (blue-blind)
#5C223B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b1065;
/* rgb */ color: rgb(91, 16, 101);
/* oklch */ color: oklch(34.8% 0.147 322.6);
Tailwind
colors: {
  custom: {
    50: '#8d5991',
    500: '#5b1065',
    950: '#000000',
  },
}
SCSS
$custom: #5b1065;
$custom-light: #8d5991;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1065",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 292.941,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34768,
    "c": 0.14697,
    "h": 322.6
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#5B1065
secondary
#409D33
accent
#EF384E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5B1065

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

Preview Lab → · Contrast checker → · Palette generator →

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