#5A1463#5A1463

#5A1463 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.141 H 322.9°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#5A1463
RGBrgb(90, 20, 99)
HSLhsl(293, 66%, 23%)
HSVhsv(293, 80%, 39%)
CMYKcmyk(9.1%, 79.8%, 0%, 61.2%)
CIE-LABlab(22.21, 42.02, -30.37)
CIE-LCHlch(22.21, 51.84, 324.14°)
OKLaboklab(34.79% 0.1121 -0.0849)
OKLCHoklch(34.79% 0.141 322.9)
XYZxyz(6.7185, 3.5752, 12.1382)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1463 #1D6314
analogous
#321463 #5A1463 #631444
triadic
#5A1463 #635A14 #14635A
tetradic
#5A1463 #633214 #1D6314 #144463
square
#5A1463 #633214 #1D6314 #144463
split-complementary
#5A1463 #446314 #146332
monochromatic
#170519 #2C0A30 #5A1463 #881E96 #B729C9

Accessibility & contrast

On white

12.24
#5A1463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1463
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1463#FFFFFF#000000##FFFFFF
##5A14631.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#213861
Tritanopia (blue-blind)
#5B233B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5a1463;
/* rgb */ color: rgb(90, 20, 99);
/* oklch */ color: oklch(34.8% 0.141 322.9);
Tailwind
colors: {
  custom: {
    50: '#8c5a90',
    500: '#5a1463',
    950: '#000000',
  },
}
SCSS
$custom: #5a1463;
$custom-light: #8c5a90;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1463",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 293.165,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34791,
    "c": 0.14056,
    "h": 322.9
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#5A1463
secondary
#449A38
accent
#E93E52
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5A1463

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

Preview Lab → · Contrast checker → · Palette generator →

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