#A52491#A52491

#A52491 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.199 H 335.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A52491
RGBrgb(165, 36, 145)
HSLhsl(309, 64%, 39%)
HSVhsv(309, 78%, 65%)
CMYKcmyk(0%, 78.2%, 12.1%, 35.3%)
CIE-LABlab(40.09, 61.73, -30.24)
CIE-LCHlch(40.09, 68.73, 333.90°)
OKLaboklab(51% 0.1806 -0.0826)
OKLCHoklch(51% 0.199 335.4)
XYZxyz(21.2591, 11.3074, 27.8455)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52491 #24A538
analogous
#7824A5 #A52491 #A52451
triadic
#A52491 #91A524 #2491A5
tetradic
#A52491 #A57824 #24A538 #2451A5
square
#A52491 #A57824 #24A538 #2451A5
split-complementary
#A52491 #51A524 #24A578
monochromatic
#410E39 #731965 #A52491 #D334BA #DE66CB

Accessibility & contrast

On white

6.44
#A52491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A52491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52491
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52491#FFFFFF#000000##FFFFFF
##A524911.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#54658E
Tritanopia (blue-blind)
#AD2F59
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52491;
/* rgb */ color: rgb(165, 36, 145);
/* oklch */ color: oklch(51.0% 0.199 335.4);
Tailwind
colors: {
  custom: {
    50: '#c46eb1',
    500: '#a52491',
    950: '#000000',
  },
}
SCSS
$custom: #a52491;
$custom-light: #c46eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52491",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 309.302,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.19863,
    "h": 335.4
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#A52491
secondary
#62C371
accent
#E75A41
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A52491

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

Preview Lab → · Contrast checker → · Palette generator →

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