#A42B9E#A42B9E

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

Color values

HEX#A42B9E
RGBrgb(164, 43, 158)
HSLhsl(303, 58%, 41%)
HSVhsv(303, 74%, 64%)
CMYKcmyk(0%, 73.8%, 3.7%, 35.7%)
CIE-LABlab(41.36, 61.35, -36.12)
CIE-LCHlch(41.36, 71.19, 329.51°)
OKLaboklab(52.09% 0.1739 -0.0997)
OKLCHoklch(52.09% 0.2 330.2)
XYZxyz(22.3452, 12.0906, 33.4980)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B9E #2BA431
analogous
#6D2BA4 #A42B9E #A42B61
triadic
#A42B9E #9EA42B #2B9EA4
tetradic
#A42B9E #A46D2B #2BA431 #2B61A4
square
#A42B9E #A46D2B #2BA431 #2B61A4
split-complementary
#A42B9E #61A42B #2BA46D
monochromatic
#431241 #741E6F #A42B9E #CD3FC6 #D970D4

Accessibility & contrast

On white

6.14
#A42B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42B9E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B9E#FFFFFF#000000##FFFFFF
##A42B9E1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A1
Deuteranopia (green-blind)
#50679B
Tritanopia (blue-blind)
#AA3B62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42b9e;
/* rgb */ color: rgb(164, 43, 158);
/* oklch */ color: oklch(52.1% 0.200 330.2);
Tailwind
colors: {
  custom: {
    50: '#c371bb',
    500: '#a42b9e',
    950: '#000000',
  },
}
SCSS
$custom: #a42b9e;
$custom-light: #c371bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b9e",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 302.975,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.20043,
    "h": 330.2
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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