#A7319A#A7319A

#A7319A is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.192 H 332.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A7319A
RGBrgb(167, 49, 154)
HSLhsl(307, 55%, 42%)
HSVhsv(307, 71%, 65%)
CMYKcmyk(0%, 70.7%, 7.8%, 34.5%)
CIE-LABlab(42.38, 59.34, -32.07)
CIE-LCHlch(42.38, 67.45, 331.61°)
OKLaboklab(52.86% 0.1709 -0.088)
OKLCHoklch(52.86% 0.192 332.8)
XYZxyz(22.8675, 12.7471, 31.8216)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7319A #31A73E
analogous
#7931A7 #A7319A #A7315F
triadic
#A7319A #9AA731 #319AA7
tetradic
#A7319A #A77931 #31A73E #315FA7
square
#A7319A #A77931 #31A73E #315FA7
split-complementary
#A7319A #5FA731 #31A779
monochromatic
#481543 #78236E #A7319A #CA4BBC #D87ACE

Accessibility & contrast

On white

5.92
#A7319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A7319A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7319A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7319A#FFFFFF#000000##FFFFFF
##A7319A1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599D
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#AE3D62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a7319a;
/* rgb */ color: rgb(167, 49, 154);
/* oklch */ color: oklch(52.9% 0.192 332.8);
Tailwind
colors: {
  custom: {
    50: '#c574b8',
    500: '#a7319a',
    950: '#000000',
  },
}
SCSS
$custom: #a7319a;
$custom-light: #c574b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a7319a",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 306.61,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.19219,
    "h": 332.8
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#A7319A
secondary
#73C17C
accent
#DE5A4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A7319A

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

Preview Lab → · Contrast checker → · Palette generator →

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