#A42391#A42391

#A42391 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.8% C 0.199 H 335.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A42391
RGBrgb(164, 35, 145)
HSLhsl(309, 65%, 39%)
HSVhsv(309, 79%, 64%)
CMYKcmyk(0%, 78.7%, 11.6%, 35.7%)
CIE-LABlab(39.82, 61.79, -30.68)
CIE-LCHlch(39.82, 68.99, 333.59°)
OKLaboklab(50.76% 0.1805 -0.0839)
OKLCHoklch(50.76% 0.199 335.1)
XYZxyz(21.0220, 11.1408, 27.8258)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42391 #23A436
analogous
#7723A4 #A42391 #A42351
triadic
#A42391 #91A423 #2391A4
tetradic
#A42391 #A47723 #23A436 #2351A4
square
#A42391 #A47723 #23A436 #2351A4
split-complementary
#A42391 #51A423 #23A477
monochromatic
#3F0D38 #721864 #A42391 #D331BB #DE64CC

Accessibility & contrast

On white

6.51
#A42391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A42391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42391
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42391#FFFFFF#000000##FFFFFF
##A423911.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#53648E
Tritanopia (blue-blind)
#AC2F59
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42391;
/* rgb */ color: rgb(164, 35, 145);
/* oklch */ color: oklch(50.8% 0.199 335.1);
Tailwind
colors: {
  custom: {
    50: '#c36eb1',
    500: '#a42391',
    950: '#000000',
  },
}
SCSS
$custom: #a42391;
$custom-light: #c36eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42391",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 308.837,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.19905,
    "h": 335.1
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#A42391
secondary
#60C36E
accent
#E85940
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A42391

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

Preview Lab → · Contrast checker → · Palette generator →

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