#A4229C#A4229C

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

Color values

HEX#A4229C
RGBrgb(164, 34, 156)
HSLhsl(304, 66%, 39%)
HSVhsv(304, 79%, 64%)
CMYKcmyk(0%, 79.3%, 4.9%, 35.7%)
CIE-LABlab(40.31, 63.73, -36.58)
CIE-LCHlch(40.31, 73.48, 330.15°)
OKLaboklab(51.31% 0.1816 -0.1009)
OKLCHoklch(51.31% 0.208 330.9)
XYZxyz(21.8826, 11.4387, 32.5014)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4229C #22A42A
analogous
#6B22A4 #A4229C #A4225B
triadic
#A4229C #9CA422 #229CA4
tetradic
#A4229C #A46B22 #22A42A #225BA4
square
#A4229C #A46B22 #22A42A #225BA4
split-complementary
#A4229C #5BA422 #22A46B
monochromatic
#3F0D3C #71176C #A4229C #D42FCA #DE62D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4229C#FFFFFF#000000##FFFFFF
##A4229C1.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)
#10549F
Deuteranopia (green-blind)
#4D6599
Tritanopia (blue-blind)
#AB345F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4229c;
/* rgb */ color: rgb(164, 34, 156);
/* oklch */ color: oklch(51.3% 0.208 330.9);
Tailwind
colors: {
  custom: {
    50: '#c36eba',
    500: '#a4229c',
    950: '#000000',
  },
}
SCSS
$custom: #a4229c;
$custom-light: #c36eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a4229c",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 303.692,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.2078,
    "h": 330.9
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#A4229C
secondary
#5EC465
accent
#E94A3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A4229C

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

Preview Lab → · Contrast checker → · Palette generator →

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