#5A1459#5A1459

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

Color values

HEX#5A1459
RGBrgb(90, 20, 89)
HSLhsl(301, 64%, 22%)
HSVhsv(301, 78%, 35%)
CMYKcmyk(0%, 77.8%, 1.1%, 64.7%)
CIE-LABlab(21.56, 40.11, -24.79)
CIE-LCHlch(21.56, 47.15, 328.29°)
OKLaboklab(34.12% 0.1124 -0.0686)
OKLCHoklch(34.12% 0.132 328.6)
XYZxyz(6.2697, 3.3957, 9.7745)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1459 #145A15
analogous
#38145A #5A1459 #5A1436
triadic
#5A1459 #595A14 #14595A
tetradic
#5A1459 #5A3814 #145A15 #14365A
square
#5A1459 #5A3814 #145A15 #14365A
split-complementary
#5A1459 #365A14 #145A38
monochromatic
#190619 #280927 #5A1459 #8C1F8B #BE2ABC

Accessibility & contrast

On white

12.51
#5A1459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5A1459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1459
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1459#FFFFFF#000000##FFFFFF
##5A14591.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082E5B
Deuteranopia (green-blind)
#283757
Tritanopia (blue-blind)
#5D1E35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5a1459;
/* rgb */ color: rgb(90, 20, 89);
/* oklch */ color: oklch(34.1% 0.132 328.6);
Tailwind
colors: {
  custom: {
    50: '#8b5a88',
    500: '#5a1459',
    950: '#000000',
  },
}
SCSS
$custom: #5a1459;
$custom-light: #8b5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1459",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 300.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34118,
    "c": 0.13171,
    "h": 328.6
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#5A1459
secondary
#389239
accent
#E74441
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5A1459

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

Preview Lab → · Contrast checker → · Palette generator →

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