#A3228E#A3228E

#A3228E is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.197 H 335.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A3228E
RGBrgb(163, 34, 142)
HSLhsl(310, 65%, 39%)
HSVhsv(310, 79%, 64%)
CMYKcmyk(0%, 79.1%, 12.9%, 36.1%)
CIE-LABlab(39.39, 61.40, -29.54)
CIE-LCHlch(39.39, 68.14, 334.31°)
OKLaboklab(50.37% 0.1801 -0.0807)
OKLCHoklch(50.37% 0.197 335.9)
XYZxyz(20.5591, 10.8855, 26.6043)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3228E #22A337
analogous
#7722A3 #A3228E #A3224E
triadic
#A3228E #8EA322 #228EA3
tetradic
#A3228E #A37722 #22A337 #224EA3
square
#A3228E #A37722 #22A337 #224EA3
split-complementary
#A3228E #4EA322 #22A377
monochromatic
#3E0D36 #701762 #A3228E #D42FB9 #DE61CA

Accessibility & contrast

On white

6.61
#A3228E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A3228E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3228E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3228E#FFFFFF#000000##FFFFFF
##A3228E1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235191
Deuteranopia (green-blind)
#53648B
Tritanopia (blue-blind)
#AC2D57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3228e;
/* rgb */ color: rgb(163, 34, 142);
/* oklch */ color: oklch(50.4% 0.197 335.9);
Tailwind
colors: {
  custom: {
    50: '#c26daf',
    500: '#a3228e',
    950: '#000000',
  },
}
SCSS
$custom: #a3228e;
$custom-light: #c26daf;
$custom-dark: #000000;
JSON
{
  "hex": "#a3228e",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 309.767,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50373,
    "c": 0.19738,
    "h": 335.9
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#A3228E
secondary
#5EC36E
accent
#E85B3F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3228E

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

Preview Lab → · Contrast checker → · Palette generator →

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