#A431B1#A431B1

#A431B1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.209 H 323.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A431B1
RGBrgb(164, 49, 177)
HSLhsl(294, 57%, 44%)
HSVhsv(294, 72%, 69%)
CMYKcmyk(7.3%, 72.3%, 0%, 30.6%)
CIE-LABlab(43.16, 62.53, -44.58)
CIE-LCHlch(43.16, 76.80, 324.51°)
OKLaboklab(53.73% 0.1679 -0.1243)
OKLCHoklch(53.73% 0.209 323.5)
XYZxyz(24.3432, 13.2649, 42.8646)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431B1 #3EB131
analogous
#6431B1 #A431B1 #B1317E
triadic
#A431B1 #B1A431 #31B1A4
tetradic
#A431B1 #B16431 #3EB131 #317EB1
square
#A431B1 #B16431 #3EB131 #317EB1
split-complementary
#A431B1 #7EB131 #31B164
monochromatic
#4B1651 #782481 #A431B1 #C251CF #D380DC

Accessibility & contrast

On white

5.75
#A431B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A431B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431B1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431B1#FFFFFF#000000##FFFFFF
##A431B11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#476AAE
Tritanopia (blue-blind)
#A7486E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a431b1;
/* rgb */ color: rgb(164, 49, 177);
/* oklch */ color: oklch(53.7% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#c374c9',
    500: '#a431b1',
    950: '#000000',
  },
}
SCSS
$custom: #a431b1;
$custom-light: #c374c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a431b1",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 293.906,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.20895,
    "h": 323.5
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#A431B1
secondary
#81C579
accent
#E04857
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A431B1

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

Preview Lab → · Contrast checker → · Palette generator →

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