#A22591#A22591

#A22591 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.6% C 0.196 H 334.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A22591
RGBrgb(162, 37, 145)
HSLhsl(308, 63%, 39%)
HSVhsv(308, 77%, 64%)
CMYKcmyk(0%, 77.2%, 10.5%, 36.5%)
CIE-LABlab(39.67, 60.76, -30.94)
CIE-LCHlch(39.67, 68.18, 333.01°)
OKLaboklab(50.59% 0.1768 -0.0848)
OKLCHoklch(50.59% 0.196 334.4)
XYZxyz(20.6729, 11.0507, 27.8268)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22591 #25A236
analogous
#7525A2 #A22591 #A22553
triadic
#A22591 #91A225 #2591A2
tetradic
#A22591 #A27525 #25A236 #2553A2
square
#A22591 #A27525 #25A236 #2553A2
split-complementary
#A22591 #53A225 #25A275
monochromatic
#3E0E38 #701A64 #A22591 #D134BB #DC65CC

Accessibility & contrast

On white

6.54
#A22591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A22591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22591
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22591#FFFFFF#000000##FFFFFF
##A225911.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235294
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#AA3159
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22591;
/* rgb */ color: rgb(162, 37, 145);
/* oklch */ color: oklch(50.6% 0.196 334.4);
Tailwind
colors: {
  custom: {
    50: '#c16eb1',
    500: '#a22591',
    950: '#000000',
  },
}
SCSS
$custom: #a22591;
$custom-light: #c16eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22591",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 308.16,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.19604,
    "h": 334.4
  },
  "luminance": 0.11049
}

Semantic roles & 50–950 ramp

primary
#A22591
secondary
#61C26E
accent
#E65842
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A22591

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

Preview Lab → · Contrast checker → · Palette generator →

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