#A4229B#A4229B

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

Color values

HEX#A4229B
RGBrgb(164, 34, 155)
HSLhsl(304, 66%, 39%)
HSVhsv(304, 79%, 64%)
CMYKcmyk(0%, 79.3%, 5.5%, 35.7%)
CIE-LABlab(40.25, 63.58, -36.06)
CIE-LCHlch(40.25, 73.09, 330.44°)
OKLaboklab(51.25% 0.1816 -0.0995)
OKLCHoklch(51.25% 0.207 331.3)
XYZxyz(21.7983, 11.4049, 32.0573)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4229B #22A42B
analogous
#6C22A4 #A4229B #A4225A
triadic
#A4229B #9BA422 #229BA4
tetradic
#A4229B #A46C22 #22A42B #225AA4
square
#A4229B #A46C22 #22A42B #225AA4
split-complementary
#A4229B #5AA422 #22A46C
monochromatic
#3F0D3B #71176B #A4229B #D42FC9 #DE62D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4229B#FFFFFF#000000##FFFFFF
##A4229B1.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)
#12549E
Deuteranopia (green-blind)
#4E6598
Tritanopia (blue-blind)
#AB345E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4229b;
/* rgb */ color: rgb(164, 34, 155);
/* oklch */ color: oklch(51.2% 0.207 331.3);
Tailwind
colors: {
  custom: {
    50: '#c36eb9',
    500: '#a4229b',
    950: '#000000',
  },
}
SCSS
$custom: #a4229b;
$custom-light: #c36eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a4229b",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 304.154,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5125,
    "c": 0.20708,
    "h": 331.3
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4229B

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

Preview Lab → · Contrast checker → · Palette generator →

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