#A52591#A52591

#A52591 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 335.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A52591
RGBrgb(165, 37, 145)
HSLhsl(309, 63%, 40%)
HSVhsv(309, 78%, 65%)
CMYKcmyk(0%, 77.6%, 12.1%, 35.3%)
CIE-LABlab(40.19, 61.44, -30.08)
CIE-LCHlch(40.19, 68.40, 333.92°)
OKLaboklab(51.07% 0.1798 -0.0822)
OKLCHoklch(51.07% 0.198 335.4)
XYZxyz(21.2898, 11.3687, 27.8557)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52591 #25A539
analogous
#7925A5 #A52591 #A52551
triadic
#A52591 #91A525 #2591A5
tetradic
#A52591 #A57925 #25A539 #2551A5
square
#A52591 #A57925 #25A539 #2551A5
split-complementary
#A52591 #51A525 #25A579
monochromatic
#410F39 #731A65 #A52591 #D235B9 #DD67CB

Accessibility & contrast

On white

6.42
#A52591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A52591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52591
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52591#FFFFFF#000000##FFFFFF
##A525911.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255394
Deuteranopia (green-blind)
#54658E
Tritanopia (blue-blind)
#AD3059
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52591;
/* rgb */ color: rgb(165, 37, 145);
/* oklch */ color: oklch(51.1% 0.198 335.4);
Tailwind
colors: {
  custom: {
    50: '#c46eb1',
    500: '#a52591',
    950: '#000000',
  },
}
SCSS
$custom: #a52591;
$custom-light: #c46eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52591",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 309.375,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.19766,
    "h": 335.4
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#A52591
secondary
#63C372
accent
#E65B41
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A52591

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

Preview Lab → · Contrast checker → · Palette generator →

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