#A42B9B#A42B9B

#A42B9B is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.198 H 331.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A42B9B
RGBrgb(164, 43, 155)
HSLhsl(304, 58%, 41%)
HSVhsv(304, 74%, 64%)
CMYKcmyk(0%, 73.8%, 5.5%, 35.7%)
CIE-LABlab(41.20, 60.87, -34.57)
CIE-LCHlch(41.20, 70.00, 330.41°)
OKLaboklab(51.93% 0.1738 -0.0952)
OKLCHoklch(51.93% 0.198 331.3)
XYZxyz(22.0901, 11.9886, 32.1546)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B9B #2BA434
analogous
#702BA4 #A42B9B #A42B5E
triadic
#A42B9B #9BA42B #2B9BA4
tetradic
#A42B9B #A4702B #2BA434 #2B5EA4
square
#A42B9B #A4702B #2BA434 #2B5EA4
split-complementary
#A42B9B #5EA42B #2BA470
monochromatic
#43123F #741E6D #A42B9B #CD3FC2 #D970D2

Accessibility & contrast

On white

6.18
#A42B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42B9B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B9B#FFFFFF#000000##FFFFFF
##A42B9B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#AB3A60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42b9b;
/* rgb */ color: rgb(164, 43, 155);
/* oklch */ color: oklch(51.9% 0.198 331.3);
Tailwind
colors: {
  custom: {
    50: '#c371b9',
    500: '#a42b9b',
    950: '#000000',
  },
}
SCSS
$custom: #a42b9b;
$custom-light: #c371b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b9b",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 304.463,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.19816,
    "h": 331.3
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#A42B9B
secondary
#6AC171
accent
#E25246
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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