#A42799#A42799

#A42799 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.201 H 332.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A42799
RGBrgb(164, 39, 153)
HSLhsl(305, 62%, 40%)
HSVhsv(305, 76%, 64%)
CMYKcmyk(0%, 76.2%, 6.7%, 35.7%)
CIE-LABlab(40.65, 61.83, -34.23)
CIE-LCHlch(40.65, 70.67, 331.03°)
OKLaboklab(51.5% 0.1774 -0.0942)
OKLCHoklch(51.5% 0.201 332)
XYZxyz(21.7852, 11.6453, 31.2312)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42799 #27A432
analogous
#7127A4 #A42799 #A4275B
triadic
#A42799 #99A427 #2799A4
tetradic
#A42799 #A47127 #27A432 #275BA4
square
#A42799 #A47127 #27A432 #275BA4
split-complementary
#A42799 #5BA427 #27A471
monochromatic
#410F3D #731B6B #A42799 #D038C2 #DC6AD2

Accessibility & contrast

On white

6.31
#A42799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A42799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42799
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42799#FFFFFF#000000##FFFFFF
##A427991.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#AB365E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42799;
/* rgb */ color: rgb(164, 39, 153);
/* oklch */ color: oklch(51.5% 0.201 332.0);
Tailwind
colors: {
  custom: {
    50: '#c36fb7',
    500: '#a42799',
    950: '#000000',
  },
}
SCSS
$custom: #a42799;
$custom-light: #c36fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42799",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 305.28,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.20087,
    "h": 332
  },
  "luminance": 0.11643
}

Semantic roles & 50–950 ramp

primary
#A42799
secondary
#65C26D
accent
#E55143
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42799

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

Preview Lab → · Contrast checker → · Palette generator →

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