#A42C9F#A42C9F

#A42C9F is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.200 H 329.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A42C9F
RGBrgb(164, 44, 159)
HSLhsl(303, 58%, 41%)
HSVhsv(303, 73%, 64%)
CMYKcmyk(0%, 73.2%, 3%, 35.7%)
CIE-LABlab(41.53, 61.18, -36.45)
CIE-LCHlch(41.53, 71.22, 329.22°)
OKLaboklab(52.23% 0.173 -0.1006)
OKLCHoklch(52.23% 0.2 329.8)
XYZxyz(22.4684, 12.1988, 33.9654)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C9F #2CA431
analogous
#6D2CA4 #A42C9F #A42C63
triadic
#A42C9F #9FA42C #2C9FA4
tetradic
#A42C9F #A46D2C #2CA431 #2C63A4
square
#A42C9F #A46D2C #2CA431 #2C63A4
split-complementary
#A42C9F #63A42C #2CA46D
monochromatic
#431241 #741F70 #A42C9F #CC41C6 #D971D5

Accessibility & contrast

On white

6.11
#A42C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A42C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C9F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C9F#FFFFFF#000000##FFFFFF
##A42C9F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#4F689C
Tritanopia (blue-blind)
#AA3C63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42c9f;
/* rgb */ color: rgb(164, 44, 159);
/* oklch */ color: oklch(52.2% 0.200 329.8);
Tailwind
colors: {
  custom: {
    50: '#c372bc',
    500: '#a42c9f',
    950: '#000000',
  },
}
SCSS
$custom: #a42c9f;
$custom-light: #c372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c9f",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 302.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.20011,
    "h": 329.8
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#A42C9F
secondary
#6BC06F
accent
#E14D47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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