#A52291#A52291

#A52291 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.201 H 335.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A52291
RGBrgb(165, 34, 145)
HSLhsl(309, 66%, 39%)
HSVhsv(309, 79%, 65%)
CMYKcmyk(0%, 79.4%, 12.1%, 35.3%)
CIE-LABlab(39.90, 62.29, -30.54)
CIE-LCHlch(39.90, 69.37, 333.88°)
OKLaboklab(50.86% 0.1823 -0.0835)
OKLCHoklch(50.86% 0.201 335.4)
XYZxyz(21.2002, 11.1897, 27.8259)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52291 #22A536
analogous
#7822A5 #A52291 #A52250
triadic
#A52291 #91A522 #2291A5
tetradic
#A52291 #A57822 #22A536 #2250A5
square
#A52291 #A57822 #22A536 #2250A5
split-complementary
#A52291 #50A522 #22A578
monochromatic
#400D38 #721864 #A52291 #D430BB #DF63CC

Accessibility & contrast

On white

6.49
#A52291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A52291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52291
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52291#FFFFFF#000000##FFFFFF
##A522911.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#53658E
Tritanopia (blue-blind)
#AD2E59
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52291;
/* rgb */ color: rgb(165, 34, 145);
/* oklch */ color: oklch(50.9% 0.201 335.4);
Tailwind
colors: {
  custom: {
    50: '#c46db1',
    500: '#a52291',
    950: '#000000',
  },
}
SCSS
$custom: #a52291;
$custom-light: #c46db1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52291",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 309.16,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50856,
    "c": 0.20051,
    "h": 335.4
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#A52291
secondary
#5FC46E
accent
#E9593F
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A52291

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

Preview Lab → · Contrast checker → · Palette generator →

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