#A42D91#A42D91

#A42D91 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.189 H 335.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A42D91
RGBrgb(164, 45, 145)
HSLhsl(310, 57%, 41%)
HSVhsv(310, 73%, 64%)
CMYKcmyk(0%, 72.6%, 11.6%, 35.7%)
CIE-LABlab(40.92, 58.63, -28.95)
CIE-LCHlch(40.92, 65.39, 333.72°)
OKLaboklab(51.56% 0.1712 -0.079)
OKLCHoklch(51.56% 0.189 335.2)
XYZxyz(21.3593, 11.8155, 27.9383)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D91 #2DA440
analogous
#7B2DA4 #A42D91 #A42D55
triadic
#A42D91 #91A42D #2D91A4
tetradic
#A42D91 #A47B2D #2DA440 #2D55A4
square
#A42D91 #A47B2D #2DA440 #2D55A4
split-complementary
#A42D91 #55A42D #2DA47B
monochromatic
#44133C #742067 #A42D91 #CB43B6 #D973C8

Accessibility & contrast

On white

6.24
#A42D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A42D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D91
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D91#FFFFFF#000000##FFFFFF
##A42D911.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#57678E
Tritanopia (blue-blind)
#AC365C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42d91;
/* rgb */ color: rgb(164, 45, 145);
/* oklch */ color: oklch(51.6% 0.189 335.2);
Tailwind
colors: {
  custom: {
    50: '#c371b1',
    500: '#a42d91',
    950: '#000000',
  },
}
SCSS
$custom: #a42d91;
$custom-light: #c371b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d91",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 309.58,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.18852,
    "h": 335.2
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#A42D91
secondary
#6DC07A
accent
#E06048
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #A42D91

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

Preview Lab → · Contrast checker → · Palette generator →

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