#A42B9C#A42B9C

#A42B9C is a mid, vivid purple. Relative luminance 0.120; OKLCH L 52.0% C 0.199 H 330.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A42B9C
RGBrgb(164, 43, 156)
HSLhsl(304, 58%, 41%)
HSVhsv(304, 74%, 64%)
CMYKcmyk(0%, 73.8%, 4.9%, 35.7%)
CIE-LABlab(41.25, 61.03, -35.09)
CIE-LCHlch(41.25, 70.40, 330.11°)
OKLaboklab(51.98% 0.1738 -0.0967)
OKLCHoklch(51.98% 0.199 330.9)
XYZxyz(22.1744, 12.0223, 32.5987)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B9C #2BA433
analogous
#6F2BA4 #A42B9C #A42B5F
triadic
#A42B9C #9CA42B #2B9CA4
tetradic
#A42B9C #A46F2B #2BA433 #2B5FA4
square
#A42B9C #A46F2B #2BA433 #2B5FA4
split-complementary
#A42B9C #5FA42B #2BA46F
monochromatic
#431240 #741E6E #A42B9C #CD3FC3 #D970D3

Accessibility & contrast

On white

6.17
#A42B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A42B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B9C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B9C#FFFFFF#000000##FFFFFF
##A42B9C1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F579F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#AB3A61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42b9c;
/* rgb */ color: rgb(164, 43, 156);
/* oklch */ color: oklch(52.0% 0.199 330.9);
Tailwind
colors: {
  custom: {
    50: '#c371b9',
    500: '#a42b9c',
    950: '#000000',
  },
}
SCSS
$custom: #a42b9c;
$custom-light: #c371b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b9c",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 303.967,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.19891,
    "h": 330.9
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#A42B9C
secondary
#6AC170
accent
#E25046
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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