#5A1363#5A1363

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

Color values

HEX#5A1363
RGBrgb(90, 19, 99)
HSLhsl(293, 68%, 23%)
HSVhsv(293, 81%, 39%)
CMYKcmyk(9.1%, 80.8%, 0%, 61.2%)
CIE-LABlab(22.09, 42.37, -30.57)
CIE-LCHlch(22.09, 52.25, 324.19°)
OKLaboklab(34.7% 0.113 -0.0854)
OKLCHoklch(34.7% 0.142 322.9)
XYZxyz(6.7012, 3.5407, 12.1324)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1363 #1C6313
analogous
#321363 #5A1363 #631344
triadic
#5A1363 #635A13 #13635A
tetradic
#5A1363 #633213 #1C6313 #134463
square
#5A1363 #633213 #1C6313 #134463
split-complementary
#5A1363 #446313 #136332
monochromatic
#17051A #2B0930 #5A1363 #891D96 #B727CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A1363#FFFFFF#000000##FFFFFF
##5A13631.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)
#003065
Deuteranopia (green-blind)
#203861
Tritanopia (blue-blind)
#5B233A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5a1363;
/* rgb */ color: rgb(90, 19, 99);
/* oklch */ color: oklch(34.7% 0.142 322.9);
Tailwind
colors: {
  custom: {
    50: '#8c5a90',
    500: '#5a1363',
    950: '#000000',
  },
}
SCSS
$custom: #5a1363;
$custom-light: #8c5a90;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1363",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 293.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34703,
    "c": 0.14167,
    "h": 322.9
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#5A1363
secondary
#429B37
accent
#EB3D51
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5A1363

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

Preview Lab → · Contrast checker → · Palette generator →

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