#5A1763#5A1763

#5A1763 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.137 H 322.7°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#5A1763
RGBrgb(90, 23, 99)
HSLhsl(293, 62%, 24%)
HSVhsv(293, 77%, 39%)
CMYKcmyk(9.1%, 76.8%, 0%, 61.2%)
CIE-LABlab(22.61, 40.88, -29.73)
CIE-LCHlch(22.61, 50.55, 323.97°)
OKLaboklab(35.07% 0.109 -0.083)
OKLCHoklch(35.07% 0.137 322.7)
XYZxyz(6.7748, 3.6877, 12.1569)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1763 #206317
analogous
#341763 #5A1763 #631746
triadic
#5A1763 #635A17 #17635A
tetradic
#5A1763 #633417 #206317 #174663
square
#5A1763 #633417 #206317 #174663
split-complementary
#5A1763 #466317 #176334
monochromatic
#170619 #2D0B31 #5A1763 #872395 #B42EC6

Accessibility & contrast

On white

12.09
#5A1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5A1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1763
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1763#FFFFFF#000000##FFFFFF
##5A17631.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#233961
Tritanopia (blue-blind)
#5B253B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a1763;
/* rgb */ color: rgb(90, 23, 99);
/* oklch */ color: oklch(35.1% 0.137 322.7);
Tailwind
colors: {
  custom: {
    50: '#8c5c90',
    500: '#5a1763',
    950: '#000000',
  },
}
SCSS
$custom: #5a1763;
$custom-light: #8c5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1763",
  "rgb": {
    "r": 90,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 292.895,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35074,
    "c": 0.137,
    "h": 322.7
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#5A1763
secondary
#479A3C
accent
#E54256
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5A1763

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

Preview Lab → · Contrast checker → · Palette generator →

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