#A42591#A42591

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

Color values

HEX#A42591
RGBrgb(164, 37, 145)
HSLhsl(309, 63%, 39%)
HSVhsv(309, 77%, 64%)
CMYKcmyk(0%, 77.4%, 11.6%, 35.7%)
CIE-LABlab(40.02, 61.21, -30.37)
CIE-LCHlch(40.02, 68.33, 333.61°)
OKLaboklab(50.91% 0.1788 -0.083)
OKLCHoklch(50.91% 0.197 335.1)
XYZxyz(21.0825, 11.2619, 27.8460)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42591 #25A438
analogous
#7725A4 #A42591 #A42552
triadic
#A42591 #91A425 #2591A4
tetradic
#A42591 #A47725 #25A438 #2552A4
square
#A42591 #A47725 #25A438 #2552A4
split-complementary
#A42591 #52A425 #25A477
monochromatic
#400E39 #721A65 #A42591 #D135BA #DD67CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42591#FFFFFF#000000##FFFFFF
##A425911.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)
#245294
Deuteranopia (green-blind)
#54658E
Tritanopia (blue-blind)
#AC3059
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42591;
/* rgb */ color: rgb(164, 37, 145);
/* oklch */ color: oklch(50.9% 0.197 335.1);
Tailwind
colors: {
  custom: {
    50: '#c36eb1',
    500: '#a42591',
    950: '#000000',
  },
}
SCSS
$custom: #a42591;
$custom-light: #c36eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42591",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 308.976,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.19712,
    "h": 335.1
  },
  "luminance": 0.1126
}

Semantic roles & 50–950 ramp

primary
#A42591
secondary
#62C271
accent
#E65A42
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A42591

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

Preview Lab → · Contrast checker → · Palette generator →

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