#A3229E#A3229E

#A3229E is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.209 H 329.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A3229E
RGBrgb(163, 34, 158)
HSLhsl(302, 65%, 39%)
HSVhsv(302, 79%, 64%)
CMYKcmyk(0%, 79.1%, 3.1%, 36.1%)
CIE-LABlab(40.25, 63.84, -37.89)
CIE-LCHlch(40.25, 74.24, 329.31°)
OKLaboklab(51.27% 0.1806 -0.1048)
OKLCHoklch(51.27% 0.209 329.9)
XYZxyz(21.8477, 11.4009, 33.3910)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3229E #22A327
analogous
#6722A3 #A3229E #A3225D
triadic
#A3229E #9EA322 #229EA3
tetradic
#A3229E #A36722 #22A327 #225DA3
square
#A3229E #A36722 #22A327 #225DA3
split-complementary
#A3229E #5DA322 #22A367
monochromatic
#3E0D3C #70176D #A3229E #D42FCD #DE61D9

Accessibility & contrast

On white

6.40
#A3229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A3229E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3229E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3229E#FFFFFF#000000##FFFFFF
##A3229E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#A93660
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a3229e;
/* rgb */ color: rgb(163, 34, 158);
/* oklch */ color: oklch(51.3% 0.209 329.9);
Tailwind
colors: {
  custom: {
    50: '#c26ebb',
    500: '#a3229e',
    950: '#000000',
  },
}
SCSS
$custom: #a3229e;
$custom-light: #c26ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a3229e",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 302.326,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.20879,
    "h": 329.9
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A3229E

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

Preview Lab → · Contrast checker → · Palette generator →

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