#A131A4#A131A4

#A131A4 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.197 H 326.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A131A4
RGBrgb(161, 49, 164)
HSLhsl(298, 54%, 42%)
HSVhsv(298, 70%, 64%)
CMYKcmyk(1.8%, 70.1%, 0%, 35.7%)
CIE-LABlab(41.93, 59.58, -38.84)
CIE-LCHlch(41.93, 71.13, 326.90°)
OKLaboklab(52.52% 0.1648 -0.1077)
OKLCHoklch(52.52% 0.197 326.8)
XYZxyz(22.4967, 12.4556, 36.3340)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131A4 #34A431
analogous
#6831A4 #A131A4 #A4316E
triadic
#A131A4 #A4A131 #31A4A1
tetradic
#A131A4 #A46831 #34A431 #316EA4
square
#A131A4 #A46831 #34A431 #316EA4
split-complementary
#A131A4 #6EA431 #31A468
monochromatic
#441546 #732375 #A131A4 #C549C9 #D479D7

Accessibility & contrast

On white

6.02
#A131A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A131A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131A4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131A4#FFFFFF#000000##FFFFFF
##A131A41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#A54367
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a131a4;
/* rgb */ color: rgb(161, 49, 164);
/* oklch */ color: oklch(52.5% 0.197 326.8);
Tailwind
colors: {
  custom: {
    50: '#c074bf',
    500: '#a131a4',
    950: '#000000',
  },
}
SCSS
$custom: #a131a4;
$custom-light: #c074bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a131a4",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 298.435,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.19685,
    "h": 326.8
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#A131A4
secondary
#74BF72
accent
#DD4A4E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A131A4

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

Preview Lab → · Contrast checker → · Palette generator →

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