#A3229F#A3229F

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

Color values

HEX#A3229F
RGBrgb(163, 34, 159)
HSLhsl(302, 65%, 39%)
HSVhsv(302, 79%, 64%)
CMYKcmyk(0%, 79.1%, 2.5%, 36.1%)
CIE-LABlab(40.30, 64.00, -38.40)
CIE-LCHlch(40.30, 74.64, 329.03°)
OKLaboklab(51.33% 0.1806 -0.1063)
OKLCHoklch(51.33% 0.21 329.5)
XYZxyz(21.9342, 11.4355, 33.8462)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3229F #22A326
analogous
#6622A3 #A3229F #A3225E
triadic
#A3229F #9FA322 #229FA3
tetradic
#A3229F #A36622 #22A326 #225EA3
square
#A3229F #A36622 #22A326 #225EA3
split-complementary
#A3229F #5EA322 #22A366
monochromatic
#3E0D3C #70176E #A3229F #D42FCE #DE61DA

Accessibility & contrast

On white

6.39
#A3229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A3229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3229F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3229F#FFFFFF#000000##FFFFFF
##A3229F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0554A2
Deuteranopia (green-blind)
#4A659C
Tritanopia (blue-blind)
#A93660
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a3229f;
/* rgb */ color: rgb(163, 34, 159);
/* oklch */ color: oklch(51.3% 0.210 329.5);
Tailwind
colors: {
  custom: {
    50: '#c26ebc',
    500: '#a3229f',
    950: '#000000',
  },
}
SCSS
$custom: #a3229f;
$custom-light: #c26ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#a3229f",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 301.86,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51325,
    "c": 0.20953,
    "h": 329.5
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#A3229F
secondary
#5EC361
accent
#E8453F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A3229F

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

Preview Lab → · Contrast checker → · Palette generator →

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