#A0229A#A0229A

#A0229A is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.204 H 330.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A0229A
RGBrgb(160, 34, 154)
HSLhsl(303, 65%, 38%)
HSVhsv(303, 79%, 63%)
CMYKcmyk(0%, 78.8%, 3.8%, 37.3%)
CIE-LABlab(39.50, 62.58, -36.70)
CIE-LCHlch(39.50, 72.54, 329.61°)
OKLaboklab(50.56% 0.1775 -0.1014)
OKLCHoklch(50.56% 0.204 330.3)
XYZxyz(20.9019, 10.9524, 31.5787)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0229A #22A028
analogous
#6722A0 #A0229A #A0225B
triadic
#A0229A #9AA022 #229AA0
tetradic
#A0229A #A06722 #22A028 #225BA0
square
#A0229A #A06722 #22A028 #225BA0
split-complementary
#A0229A #5BA022 #22A067
monochromatic
#3B0D39 #6E1769 #A0229A #D22DCA #DD5FD7

Accessibility & contrast

On white

6.58
#A0229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A0229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0229A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0229A#FFFFFF#000000##FFFFFF
##A0229A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529D
Deuteranopia (green-blind)
#4A6397
Tritanopia (blue-blind)
#A6355E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a0229a;
/* rgb */ color: rgb(160, 34, 154);
/* oklch */ color: oklch(50.6% 0.204 330.3);
Tailwind
colors: {
  custom: {
    50: '#c06db8',
    500: '#a0229a',
    950: '#000000',
  },
}
SCSS
$custom: #a0229a;
$custom-light: #c06db8;
$custom-dark: #000000;
JSON
{
  "hex": "#a0229a",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 302.857,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.20442,
    "h": 330.3
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#A0229A
secondary
#5CC261
accent
#E84840
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A0229A

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

Preview Lab → · Contrast checker → · Palette generator →

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