#A42C91#A42C91

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

Color values

HEX#A42C91
RGBrgb(164, 44, 145)
HSLhsl(310, 58%, 41%)
HSVhsv(310, 73%, 64%)
CMYKcmyk(0%, 73.2%, 11.6%, 35.7%)
CIE-LABlab(40.80, 58.98, -29.14)
CIE-LCHlch(40.80, 65.78, 333.71°)
OKLaboklab(51.47% 0.1722 -0.0796)
OKLCHoklch(51.47% 0.19 335.2)
XYZxyz(21.3216, 11.7401, 27.9257)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C91 #2CA43F
analogous
#7B2CA4 #A42C91 #A42C55
triadic
#A42C91 #91A42C #2C91A4
tetradic
#A42C91 #A47B2C #2CA43F #2C55A4
square
#A42C91 #A47B2C #2CA43F #2C55A4
split-complementary
#A42C91 #55A42C #2CA47B
monochromatic
#43123C #741F66 #A42C91 #CC41B6 #D971C9

Accessibility & contrast

On white

6.27
#A42C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A42C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C91
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C91#FFFFFF#000000##FFFFFF
##A42C911.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42c91;
/* rgb */ color: rgb(164, 44, 145);
/* oklch */ color: oklch(51.5% 0.190 335.2);
Tailwind
colors: {
  custom: {
    50: '#c371b1',
    500: '#a42c91',
    950: '#000000',
  },
}
SCSS
$custom: #a42c91;
$custom-light: #c371b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c91",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 309.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.18966,
    "h": 335.2
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#A42C91
secondary
#6BC079
accent
#E15F47
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A42C91

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

Preview Lab → · Contrast checker → · Palette generator →

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