#A431A0#A431A0

#A431A0 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.195 H 329.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A431A0
RGBrgb(164, 49, 160)
HSLhsl(302, 54%, 42%)
HSVhsv(302, 70%, 64%)
CMYKcmyk(0%, 70.1%, 2.4%, 35.7%)
CIE-LABlab(42.20, 59.60, -35.99)
CIE-LCHlch(42.20, 69.63, 328.87°)
OKLaboklab(52.73% 0.168 -0.0994)
OKLCHoklch(52.73% 0.195 329.4)
XYZxyz(22.7531, 12.6289, 34.4901)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431A0 #31A435
analogous
#6F31A4 #A431A0 #A43167
triadic
#A431A0 #A0A431 #31A0A4
tetradic
#A431A0 #A46F31 #31A435 #3167A4
square
#A431A0 #A46F31 #31A435 #3167A4
split-complementary
#A431A0 #67A431 #31A46F
monochromatic
#461544 #752372 #A431A0 #C949C4 #D779D4

Accessibility & contrast

On white

5.96
#A431A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A431A0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431A0#FFFFFF#000000##FFFFFF
##A431A01.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235AA3
Deuteranopia (green-blind)
#51699D
Tritanopia (blue-blind)
#AA4065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a431a0;
/* rgb */ color: rgb(164, 49, 160);
/* oklch */ color: oklch(52.7% 0.195 329.4);
Tailwind
colors: {
  custom: {
    50: '#c274bc',
    500: '#a431a0',
    950: '#000000',
  },
}
SCSS
$custom: #a431a0;
$custom-light: #c274bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a431a0",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 302.087,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.19518,
    "h": 329.4
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A431A0

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

Preview Lab → · Contrast checker → · Palette generator →

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