#A52391#A52391

#A52391 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.9% C 0.200 H 335.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A52391
RGBrgb(165, 35, 145)
HSLhsl(309, 65%, 39%)
HSVhsv(309, 79%, 65%)
CMYKcmyk(0%, 78.8%, 12.1%, 35.3%)
CIE-LABlab(39.99, 62.01, -30.39)
CIE-LCHlch(39.99, 69.06, 333.89°)
OKLaboklab(50.93% 0.1815 -0.0831)
OKLCHoklch(50.93% 0.2 335.4)
XYZxyz(21.2292, 11.2477, 27.8355)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52391 #23A537
analogous
#7823A5 #A52391 #A52350
triadic
#A52391 #91A523 #2391A5
tetradic
#A52391 #A57823 #23A537 #2350A5
square
#A52391 #A57823 #23A537 #2350A5
split-complementary
#A52391 #50A523 #23A578
monochromatic
#400E38 #731865 #A52391 #D332BB #DE64CB

Accessibility & contrast

On white

6.46
#A52391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A52391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52391
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52391#FFFFFF#000000##FFFFFF
##A523911.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52391;
/* rgb */ color: rgb(165, 35, 145);
/* oklch */ color: oklch(50.9% 0.200 335.4);
Tailwind
colors: {
  custom: {
    50: '#c46eb1',
    500: '#a52391',
    950: '#000000',
  },
}
SCSS
$custom: #a52391;
$custom-light: #c46eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52391",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 309.231,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50925,
    "c": 0.19958,
    "h": 335.4
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#A52391
secondary
#60C470
accent
#E85A40
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A52391

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

Preview Lab → · Contrast checker → · Palette generator →

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