#A3299A#A3299A

#A3299A is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.199 H 331.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A3299A
RGBrgb(163, 41, 154)
HSLhsl(304, 60%, 40%)
HSVhsv(304, 75%, 64%)
CMYKcmyk(0%, 74.8%, 5.5%, 36.1%)
CIE-LABlab(40.75, 61.13, -34.69)
CIE-LCHlch(40.75, 70.29, 330.43°)
OKLaboklab(51.55% 0.1746 -0.0956)
OKLCHoklch(51.55% 0.199 331.3)
XYZxyz(21.7299, 11.7073, 31.6808)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3299A #29A332
analogous
#6F29A3 #A3299A #A3295D
triadic
#A3299A #9AA329 #299AA3
tetradic
#A3299A #A36F29 #29A332 #295DA3
square
#A3299A #A36F29 #29A332 #295DA3
split-complementary
#A3299A #5DA329 #29A36F
monochromatic
#41103E #721D6C #A3299A #CE3BC3 #DA6CD2

Accessibility & contrast

On white

6.29
#A3299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A3299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3299A
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3299A#FFFFFF#000000##FFFFFF
##A3299A1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AA385F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a3299a;
/* rgb */ color: rgb(163, 41, 154);
/* oklch */ color: oklch(51.6% 0.199 331.3);
Tailwind
colors: {
  custom: {
    50: '#c270b8',
    500: '#a3299a',
    950: '#000000',
  },
}
SCSS
$custom: #a3299a;
$custom-light: #c270b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a3299a",
  "rgb": {
    "r": 163,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 304.426,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.19903,
    "h": 331.3
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#A3299A
secondary
#67C16E
accent
#E35045
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A3299A

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

Preview Lab → · Contrast checker → · Palette generator →

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