#A32791#A32791

#A32791 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.195 H 334.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A32791
RGBrgb(163, 39, 145)
HSLhsl(309, 61%, 40%)
HSVhsv(309, 76%, 64%)
CMYKcmyk(0%, 76.1%, 11%, 36.1%)
CIE-LABlab(40.05, 60.37, -30.32)
CIE-LCHlch(40.05, 67.56, 333.33°)
OKLaboklab(50.9% 0.176 -0.0829)
OKLCHoklch(50.9% 0.195 334.8)
XYZxyz(20.9409, 11.2838, 27.8577)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A32791 #27A339
analogous
#7727A3 #A32791 #A32753
triadic
#A32791 #91A327 #2791A3
tetradic
#A32791 #A37727 #27A339 #2753A3
square
#A32791 #A37727 #27A339 #2753A3
split-complementary
#A32791 #53A327 #27A377
monochromatic
#400F39 #721B65 #A32791 #CF38B9 #DB69CB

Accessibility & contrast

On white

6.45
#A32791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A32791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A32791
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A32791#FFFFFF#000000##FFFFFF
##A327911.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#53658E
Tritanopia (blue-blind)
#AB325A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a32791;
/* rgb */ color: rgb(163, 39, 145);
/* oklch */ color: oklch(50.9% 0.195 334.8);
Tailwind
colors: {
  custom: {
    50: '#c26fb1',
    500: '#a32791',
    950: '#000000',
  },
}
SCSS
$custom: #a32791;
$custom-light: #c26fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a32791",
  "rgb": {
    "r": 163,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 308.71,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.19454,
    "h": 334.8
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#A32791
secondary
#64C172
accent
#E45B43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A32791

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

Preview Lab → · Contrast checker → · Palette generator →

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