#A42999#A42999

#A42999 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.199 H 332.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A42999
RGBrgb(164, 41, 153)
HSLhsl(305, 60%, 40%)
HSVhsv(305, 75%, 64%)
CMYKcmyk(0%, 75%, 6.7%, 35.7%)
CIE-LABlab(40.86, 61.20, -33.89)
CIE-LCHlch(40.86, 69.96, 331.03°)
OKLaboklab(51.65% 0.1756 -0.0932)
OKLCHoklch(51.65% 0.199 332)
XYZxyz(21.8526, 11.7801, 31.2537)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42999 #29A434
analogous
#7229A4 #A42999 #A4295B
triadic
#A42999 #99A429 #2999A4
tetradic
#A42999 #A47229 #29A434 #295BA4
square
#A42999 #A47229 #29A434 #295BA4
split-complementary
#A42999 #5BA429 #29A472
monochromatic
#42113E #731D6B #A42999 #CE3CC1 #DA6DD1

Accessibility & contrast

On white

6.26
#A42999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A42999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42999
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42999#FFFFFF#000000##FFFFFF
##A429991.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#AB375F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42999;
/* rgb */ color: rgb(164, 41, 153);
/* oklch */ color: oklch(51.7% 0.199 332.0);
Tailwind
colors: {
  custom: {
    50: '#c370b7',
    500: '#a42999',
    950: '#000000',
  },
}
SCSS
$custom: #a42999;
$custom-light: #c370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42999",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 305.366,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51651,
    "c": 0.1988,
    "h": 332
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#A42999
secondary
#68C170
accent
#E35345
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42999

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

Preview Lab → · Contrast checker → · Palette generator →

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