#A42B9F#A42B9F

#A42B9F is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.201 H 329.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A42B9F
RGBrgb(164, 43, 159)
HSLhsl(302, 58%, 41%)
HSVhsv(302, 74%, 64%)
CMYKcmyk(0%, 73.8%, 3%, 35.7%)
CIE-LABlab(41.41, 61.51, -36.63)
CIE-LCHlch(41.41, 71.60, 329.22°)
OKLaboklab(52.15% 0.1739 -0.1012)
OKLCHoklch(52.15% 0.201 329.8)
XYZxyz(22.4316, 12.1252, 33.9531)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B9F #2BA430
analogous
#6C2BA4 #A42B9F #A42B63
triadic
#A42B9F #9FA42B #2B9FA4
tetradic
#A42B9F #A46C2B #2BA430 #2B63A4
square
#A42B9F #A46C2B #2BA430 #2B63A4
split-complementary
#A42B9F #63A42B #2BA46C
monochromatic
#431241 #741E70 #A42B9F #CD3FC7 #D970D5

Accessibility & contrast

On white

6.13
#A42B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A42B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B9F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B9F#FFFFFF#000000##FFFFFF
##A42B9F1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42b9f;
/* rgb */ color: rgb(164, 43, 159);
/* oklch */ color: oklch(52.1% 0.201 329.8);
Tailwind
colors: {
  custom: {
    50: '#c371bc',
    500: '#a42b9f',
    950: '#000000',
  },
}
SCSS
$custom: #a42b9f;
$custom-light: #c371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b9f",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 302.479,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5215,
    "c": 0.20119,
    "h": 329.8
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#A42B9F
secondary
#6AC16E
accent
#E24D46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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