#A3229D#A3229D

#A3229D is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.208 H 330.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A3229D
RGBrgb(163, 34, 157)
HSLhsl(303, 65%, 39%)
HSVhsv(303, 79%, 64%)
CMYKcmyk(0%, 79.1%, 3.7%, 36.1%)
CIE-LABlab(40.19, 63.68, -37.38)
CIE-LCHlch(40.19, 73.84, 329.59°)
OKLaboklab(51.21% 0.1806 -0.1033)
OKLCHoklch(51.21% 0.208 330.2)
XYZxyz(21.7620, 11.3667, 32.9396)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3229D #22A328
analogous
#6822A3 #A3229D #A3225C
triadic
#A3229D #9DA322 #229DA3
tetradic
#A3229D #A36822 #22A328 #225CA3
square
#A3229D #A36822 #22A328 #225CA3
split-complementary
#A3229D #5CA322 #22A368
monochromatic
#3E0D3B #70176C #A3229D #D42FCC #DE61D8

Accessibility & contrast

On white

6.42
#A3229D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A3229D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3229D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3229D#FFFFFF#000000##FFFFFF
##A3229D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C54A0
Deuteranopia (green-blind)
#4C659A
Tritanopia (blue-blind)
#A9355F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a3229d;
/* rgb */ color: rgb(163, 34, 157);
/* oklch */ color: oklch(51.2% 0.208 330.2);
Tailwind
colors: {
  custom: {
    50: '#c26eba',
    500: '#a3229d',
    950: '#000000',
  },
}
SCSS
$custom: #a3229d;
$custom-light: #c26eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a3229d",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 302.791,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.20806,
    "h": 330.2
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#A3229D
secondary
#5EC362
accent
#E8473F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A3229D

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

Preview Lab → · Contrast checker → · Palette generator →

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