#A5319A#A5319A

#A5319A is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.191 H 332.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A5319A
RGBrgb(165, 49, 154)
HSLhsl(306, 54%, 42%)
HSVhsv(306, 70%, 65%)
CMYKcmyk(0%, 70.3%, 6.7%, 35.3%)
CIE-LABlab(42.05, 58.86, -32.62)
CIE-LCHlch(42.05, 67.29, 331.01°)
OKLaboklab(52.55% 0.1688 -0.0896)
OKLCHoklch(52.55% 0.191 332)
XYZxyz(22.4481, 12.5308, 31.8020)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5319A #31A53C
analogous
#7631A5 #A5319A #A53160
triadic
#A5319A #9AA531 #319AA5
tetradic
#A5319A #A57631 #31A53C #3160A5
square
#A5319A #A57631 #31A53C #3160A5
split-complementary
#A5319A #60A531 #31A576
monochromatic
#471542 #76236E #A5319A #C94ABD #D779CE

Accessibility & contrast

On white

5.99
#A5319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A5319A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5319A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5319A#FFFFFF#000000##FFFFFF
##A5319A1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599D
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#AC3D62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5319a;
/* rgb */ color: rgb(165, 49, 154);
/* oklch */ color: oklch(52.6% 0.191 332.0);
Tailwind
colors: {
  custom: {
    50: '#c374b8',
    500: '#a5319a',
    950: '#000000',
  },
}
SCSS
$custom: #a5319a;
$custom-light: #c374b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5319a",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 305.69,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.19105,
    "h": 332
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#A5319A
secondary
#72C07A
accent
#DE584A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A5319A

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

Preview Lab → · Contrast checker → · Palette generator →

#A5319A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva