#A5319B#A5319B

#A5319B is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.192 H 331.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A5319B
RGBrgb(165, 49, 155)
HSLhsl(305, 54%, 42%)
HSVhsv(305, 70%, 65%)
CMYKcmyk(0%, 70.3%, 6.1%, 35.3%)
CIE-LABlab(42.10, 59.02, -33.14)
CIE-LCHlch(42.10, 67.69, 330.69°)
OKLaboklab(52.61% 0.1688 -0.0911)
OKLCHoklch(52.61% 0.192 331.7)
XYZxyz(22.5318, 12.5643, 32.2424)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5319B #31A53B
analogous
#7531A5 #A5319B #A53161
triadic
#A5319B #9BA531 #319BA5
tetradic
#A5319B #A57531 #31A53B #3161A5
square
#A5319B #A57531 #31A53B #3161A5
split-complementary
#A5319B #61A531 #31A575
monochromatic
#471542 #76236F #A5319B #C94ABE #D779CF

Accessibility & contrast

On white

5.98
#A5319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5319B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5319B#FFFFFF#000000##FFFFFF
##A5319B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#AC3E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5319b;
/* rgb */ color: rgb(165, 49, 155);
/* oklch */ color: oklch(52.6% 0.192 331.7);
Tailwind
colors: {
  custom: {
    50: '#c374b9',
    500: '#a5319b',
    950: '#000000',
  },
}
SCSS
$custom: #a5319b;
$custom-light: #c374b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5319b",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 305.172,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.19183,
    "h": 331.7
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#A5319B
secondary
#72C079
accent
#DE574A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A5319B

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

Preview Lab → · Contrast checker → · Palette generator →

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