#A52991#A52991

#A52991 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.194 H 335.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A52991
RGBrgb(165, 41, 145)
HSLhsl(310, 60%, 40%)
HSVhsv(310, 75%, 65%)
CMYKcmyk(0%, 75.2%, 12.1%, 35.3%)
CIE-LABlab(40.62, 60.21, -29.40)
CIE-LCHlch(40.62, 67.00, 333.97°)
OKLaboklab(51.38% 0.1761 -0.0803)
OKLCHoklch(51.38% 0.194 335.5)
XYZxyz(21.4211, 11.6315, 27.8995)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52991 #29A53D
analogous
#7B29A5 #A52991 #A52953
triadic
#A52991 #91A529 #2991A5
tetradic
#A52991 #A57B29 #29A53D #2953A5
square
#A52991 #A57B29 #29A53D #2953A5
split-complementary
#A52991 #53A529 #29A57B
monochromatic
#43113B #741D66 #A52991 #CF3DB7 #DB6EC9

Accessibility & contrast

On white

6.31
#A52991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A52991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52991
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52991#FFFFFF#000000##FFFFFF
##A529911.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#56668E
Tritanopia (blue-blind)
#AD335A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52991;
/* rgb */ color: rgb(165, 41, 145);
/* oklch */ color: oklch(51.4% 0.194 335.5);
Tailwind
colors: {
  custom: {
    50: '#c370b1',
    500: '#a52991',
    950: '#000000',
  },
}
SCSS
$custom: #a52991;
$custom-light: #c370b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52991",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 309.677,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51378,
    "c": 0.19355,
    "h": 335.5
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#A52991
secondary
#68C277
accent
#E35E44
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A52991

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

Preview Lab → · Contrast checker → · Palette generator →

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