#5A1359#5A1359

#5A1359 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.133 H 328.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#5A1359
RGBrgb(90, 19, 89)
HSLhsl(301, 65%, 21%)
HSVhsv(301, 79%, 35%)
CMYKcmyk(0%, 78.9%, 1.1%, 64.7%)
CIE-LABlab(21.44, 40.48, -24.99)
CIE-LCHlch(21.44, 47.57, 328.31°)
OKLaboklab(34.03% 0.1135 -0.0692)
OKLCHoklch(34.03% 0.133 328.6)
XYZxyz(6.2524, 3.3611, 9.7687)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1359 #135A14
analogous
#38135A #5A1359 #5A1336
triadic
#5A1359 #595A13 #13595A
tetradic
#5A1359 #5A3813 #135A14 #13365A
square
#5A1359 #5A3813 #135A14 #13365A
split-complementary
#5A1359 #365A13 #135A38
monochromatic
#190519 #270827 #5A1359 #8D1E8B #BF28BD

Accessibility & contrast

On white

12.56
#5A1359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5A1359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1359
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1359#FFFFFF#000000##FFFFFF
##5A13591.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5B
Deuteranopia (green-blind)
#273757
Tritanopia (blue-blind)
#5D1E35
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a1359;
/* rgb */ color: rgb(90, 19, 89);
/* oklch */ color: oklch(34.0% 0.133 328.6);
Tailwind
colors: {
  custom: {
    50: '#8b5a88',
    500: '#5a1359',
    950: '#000000',
  },
}
SCSS
$custom: #5a1359;
$custom-light: #8b5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1359",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 300.845,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34026,
    "c": 0.1329,
    "h": 328.6
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#5A1359
secondary
#379238
accent
#E84240
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5A1359

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

Preview Lab → · Contrast checker → · Palette generator →

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