#A431A4#A431A4

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

Color values

HEX#A431A4
RGBrgb(164, 49, 164)
HSLhsl(300, 54%, 42%)
HSVhsv(300, 70%, 64%)
CMYKcmyk(0%, 70.1%, 0%, 35.7%)
CIE-LABlab(42.42, 60.27, -38.04)
CIE-LCHlch(42.42, 71.27, 327.74°)
OKLaboklab(52.96% 0.1681 -0.1053)
OKLCHoklch(52.96% 0.198 327.9)
XYZxyz(23.1087, 12.7711, 36.3627)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431A4 #31A431
analogous
#6B31A4 #A431A4 #A4316B
triadic
#A431A4 #A4A431 #31A4A4
tetradic
#A431A4 #A46B31 #31A431 #316BA4
square
#A431A4 #A46B31 #31A431 #316BA4
split-complementary
#A431A4 #6BA431 #31A46B
monochromatic
#461546 #752375 #A431A4 #C949C9 #D779D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A431A4#FFFFFF#000000##FFFFFF
##A431A41.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA7
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#A94267
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a431a4;
/* rgb */ color: rgb(164, 49, 164);
/* oklch */ color: oklch(53.0% 0.198 327.9);
Tailwind
colors: {
  custom: {
    50: '#c274bf',
    500: '#a431a4',
    950: '#000000',
  },
}
SCSS
$custom: #a431a4;
$custom-light: #c274bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a431a4",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 300,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.19836,
    "h": 327.9
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#A431A4
secondary
#72BF72
accent
#DD4A4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A431A4

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

Preview Lab → · Contrast checker → · Palette generator →

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