#A62591#A62591

#A62591 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.198 H 335.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A62591
RGBrgb(166, 37, 145)
HSLhsl(310, 64%, 40%)
HSVhsv(310, 78%, 65%)
CMYKcmyk(0%, 77.7%, 12.7%, 34.9%)
CIE-LABlab(40.37, 61.66, -29.79)
CIE-LCHlch(40.37, 68.48, 334.22°)
OKLaboklab(51.23% 0.1808 -0.0813)
OKLCHoklch(51.23% 0.198 335.8)
XYZxyz(21.4986, 11.4764, 27.8655)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62591 #25A63A
analogous
#7A25A6 #A62591 #A62551
triadic
#A62591 #91A625 #2591A6
tetradic
#A62591 #A67A25 #25A63A #2551A6
square
#A62591 #A67A25 #25A63A #2551A6
split-complementary
#A62591 #51A625 #25A67A
monochromatic
#420F3A #741A65 #A62591 #D236B9 #DD68CA

Accessibility & contrast

On white

6.37
#A62591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A62591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62591
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62591#FFFFFF#000000##FFFFFF
##A625911.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#AF3059
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a62591;
/* rgb */ color: rgb(166, 37, 145);
/* oklch */ color: oklch(51.2% 0.198 335.8);
Tailwind
colors: {
  custom: {
    50: '#c46fb1',
    500: '#a62591',
    950: '#000000',
  },
}
SCSS
$custom: #a62591;
$custom-light: #c46fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a62591",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 309.767,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.19821,
    "h": 335.8
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#A62591
secondary
#64C373
accent
#E75C41
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A62591

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

Preview Lab → · Contrast checker → · Palette generator →

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