#A7319B#A7319B

#A7319B is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.193 H 332.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A7319B
RGBrgb(167, 49, 155)
HSLhsl(306, 55%, 42%)
HSVhsv(306, 71%, 65%)
CMYKcmyk(0%, 70.7%, 7.2%, 34.5%)
CIE-LABlab(42.43, 59.50, -32.59)
CIE-LCHlch(42.43, 67.84, 331.29°)
OKLaboklab(52.91% 0.1709 -0.0895)
OKLCHoklch(52.91% 0.193 332.4)
XYZxyz(22.9511, 12.7805, 32.2621)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7319B #31A73D
analogous
#7831A7 #A7319B #A73160
triadic
#A7319B #9BA731 #319BA7
tetradic
#A7319B #A77831 #31A73D #3160A7
square
#A7319B #A77831 #31A73D #3160A7
split-complementary
#A7319B #60A731 #31A778
monochromatic
#481543 #78236F #A7319B #CA4BBD #D87ACF

Accessibility & contrast

On white

5.91
#A7319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A7319B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7319B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7319B#FFFFFF#000000##FFFFFF
##A7319B1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599E
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#AE3D62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a7319b;
/* rgb */ color: rgb(167, 49, 155);
/* oklch */ color: oklch(52.9% 0.193 332.4);
Tailwind
colors: {
  custom: {
    50: '#c574b9',
    500: '#a7319b',
    950: '#000000',
  },
}
SCSS
$custom: #a7319b;
$custom-light: #c574b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7319b",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 306.102,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.19294,
    "h": 332.4
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#A7319B
secondary
#73C17B
accent
#DE594A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A7319B

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

Preview Lab → · Contrast checker → · Palette generator →

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