#A42199#A42199

#A42199 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.207 H 332.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A42199
RGBrgb(164, 33, 153)
HSLhsl(305, 66%, 39%)
HSVhsv(305, 80%, 64%)
CMYKcmyk(0%, 79.9%, 6.7%, 35.7%)
CIE-LABlab(40.05, 63.54, -35.17)
CIE-LCHlch(40.05, 72.62, 331.03°)
OKLaboklab(51.07% 0.1824 -0.0969)
OKLCHoklch(51.07% 0.207 332)
XYZxyz(21.6035, 11.2820, 31.1707)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42199 #21A42C
analogous
#6D21A4 #A42199 #A42157
triadic
#A42199 #99A421 #2199A4
tetradic
#A42199 #A46D21 #21A42C #2157A4
square
#A42199 #A46D21 #21A42C #2157A4
split-complementary
#A42199 #57A421 #21A46D
monochromatic
#3E0C3A #711769 #A42199 #D52DC7 #DF60D4

Accessibility & contrast

On white

6.45
#A42199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A42199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42199
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42199#FFFFFF#000000##FFFFFF
##A421991.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15539C
Deuteranopia (green-blind)
#4E6596
Tritanopia (blue-blind)
#AB325D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42199;
/* rgb */ color: rgb(164, 33, 153);
/* oklch */ color: oklch(51.1% 0.207 332.0);
Tailwind
colors: {
  custom: {
    50: '#c36db7',
    500: '#a42199',
    950: '#000000',
  },
}
SCSS
$custom: #a42199;
$custom-light: #c36db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42199",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 305.038,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.20652,
    "h": 332
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#A42199
secondary
#5DC466
accent
#E94D3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42199

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

Preview Lab → · Contrast checker → · Palette generator →

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