#AA3399#AA3399

#AA3399 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.191 H 334.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AA3399
RGBrgb(170, 51, 153)
HSLhsl(309, 54%, 43%)
HSVhsv(309, 70%, 67%)
CMYKcmyk(0%, 70%, 10%, 33.3%)
CIE-LABlab(43.09, 59.19, -30.32)
CIE-LCHlch(43.09, 66.50, 332.87°)
OKLaboklab(53.45% 0.1718 -0.0829)
OKLCHoklch(53.45% 0.191 334.2)
XYZxyz(23.5114, 13.2156, 31.4434)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3399 #33AA44
analogous
#7F33AA #AA3399 #AA335E
triadic
#AA3399 #99AA33 #3399AA
tetradic
#AA3399 #AA7F33 #33AA44 #335EAA
square
#AA3399 #AA7F33 #33AA44 #335EAA
split-complementary
#AA3399 #5EAA33 #33AA7F
monochromatic
#4C1744 #7B256F #AA3399 #CA50B9 #D97FCC

Accessibility & contrast

On white

5.76
#AA3399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AA3399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3399
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3399#FFFFFF#000000##FFFFFF
##AA33991.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9C
Deuteranopia (green-blind)
#5B6C96
Tritanopia (blue-blind)
#B23D62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa3399;
/* rgb */ color: rgb(170, 51, 153);
/* oklch */ color: oklch(53.4% 0.191 334.2);
Tailwind
colors: {
  custom: {
    50: '#c775b7',
    500: '#aa3399',
    950: '#000000',
  },
}
SCSS
$custom: #aa3399;
$custom-light: #c775b7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3399",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 308.571,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.19075,
    "h": 334.2
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#AA3399
secondary
#77C282
accent
#DD604B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA3399

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

Preview Lab → · Contrast checker → · Palette generator →

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