#A431A1#A431A1

#A431A1 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.196 H 329.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A431A1
RGBrgb(164, 49, 161)
HSLhsl(302, 54%, 42%)
HSVhsv(302, 70%, 64%)
CMYKcmyk(0%, 70.1%, 1.8%, 35.7%)
CIE-LABlab(42.25, 59.77, -36.51)
CIE-LCHlch(42.25, 70.04, 328.58°)
OKLaboklab(52.79% 0.168 -0.1008)
OKLCHoklch(52.79% 0.196 329)
XYZxyz(22.8410, 12.6640, 34.9527)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431A1 #31A434
analogous
#6E31A4 #A431A1 #A43168
triadic
#A431A1 #A1A431 #31A1A4
tetradic
#A431A1 #A46E31 #31A434 #3168A4
square
#A431A1 #A46E31 #31A434 #3168A4
split-complementary
#A431A1 #68A431 #31A46E
monochromatic
#461544 #752373 #A431A1 #C949C5 #D779D4

Accessibility & contrast

On white

5.94
#A431A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A431A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431A1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431A1#FFFFFF#000000##FFFFFF
##A431A11.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA4
Deuteranopia (green-blind)
#51699E
Tritanopia (blue-blind)
#AA4165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a431a1;
/* rgb */ color: rgb(164, 49, 161);
/* oklch */ color: oklch(52.8% 0.196 329.0);
Tailwind
colors: {
  custom: {
    50: '#c274bd',
    500: '#a431a1',
    950: '#000000',
  },
}
SCSS
$custom: #a431a1;
$custom-light: #c274bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a431a1",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 301.565,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.19596,
    "h": 329
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#A431A1
secondary
#72BF74
accent
#DD4E4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A431A1

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

Preview Lab → · Contrast checker → · Palette generator →

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