#A42B91#A42B91

#A42B91 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.191 H 335.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A42B91
RGBrgb(164, 43, 145)
HSLhsl(309, 58%, 41%)
HSVhsv(309, 74%, 64%)
CMYKcmyk(0%, 73.8%, 11.6%, 35.7%)
CIE-LABlab(40.68, 59.32, -29.33)
CIE-LCHlch(40.68, 66.17, 333.69°)
OKLaboklab(51.39% 0.1732 -0.0801)
OKLCHoklch(51.39% 0.191 335.2)
XYZxyz(21.2848, 11.6665, 27.9134)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B91 #2BA43E
analogous
#7A2BA4 #A42B91 #A42B55
triadic
#A42B91 #91A42B #2B91A4
tetradic
#A42B91 #A47A2B #2BA43E #2B55A4
square
#A42B91 #A47A2B #2BA43E #2B55A4
split-complementary
#A42B91 #55A42B #2BA47A
monochromatic
#43123B #741E66 #A42B91 #CD3FB7 #D970C9

Accessibility & contrast

On white

6.30
#A42B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A42B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B91
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B91#FFFFFF#000000##FFFFFF
##A42B911.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5494
Deuteranopia (green-blind)
#56668E
Tritanopia (blue-blind)
#AC355B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42b91;
/* rgb */ color: rgb(164, 43, 145);
/* oklch */ color: oklch(51.4% 0.191 335.2);
Tailwind
colors: {
  custom: {
    50: '#c371b1',
    500: '#a42b91',
    950: '#000000',
  },
}
SCSS
$custom: #a42b91;
$custom-light: #c371b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b91",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 309.421,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.19079,
    "h": 335.2
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#A42B91
secondary
#6AC178
accent
#E25F46
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B91

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

Preview Lab → · Contrast checker → · Palette generator →

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