#A42C92#A42C92

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

Color values

HEX#A42C92
RGBrgb(164, 44, 146)
HSLhsl(309, 58%, 41%)
HSVhsv(309, 73%, 64%)
CMYKcmyk(0%, 73.2%, 11%, 35.7%)
CIE-LABlab(40.85, 59.13, -29.67)
CIE-LCHlch(40.85, 66.16, 333.35°)
OKLaboklab(51.52% 0.1722 -0.0811)
OKLCHoklch(51.52% 0.19 334.8)
XYZxyz(21.3991, 11.7711, 28.3336)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C92 #2CA43E
analogous
#7A2CA4 #A42C92 #A42C56
triadic
#A42C92 #92A42C #2C92A4
tetradic
#A42C92 #A47A2C #2CA43E #2C56A4
square
#A42C92 #A47A2C #2CA43E #2C56A4
split-complementary
#A42C92 #56A42C #2CA47A
monochromatic
#43123C #741F67 #A42C92 #CC41B7 #D971C9

Accessibility & contrast

On white

6.26
#A42C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42C92
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C92#FFFFFF#000000##FFFFFF
##A42C921.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#56678F
Tritanopia (blue-blind)
#AC365C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42c92;
/* rgb */ color: rgb(164, 44, 146);
/* oklch */ color: oklch(51.5% 0.190 334.8);
Tailwind
colors: {
  custom: {
    50: '#c371b2',
    500: '#a42c92',
    950: '#000000',
  },
}
SCSS
$custom: #a42c92;
$custom-light: #c371b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c92",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 309,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.19039,
    "h": 334.8
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#A42C92
secondary
#6BC078
accent
#E15E47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42C92

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

Preview Lab → · Contrast checker → · Palette generator →

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