#A3339D#A3339D

#A3339D is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.190 H 330.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A3339D
RGBrgb(163, 51, 157)
HSLhsl(303, 52%, 42%)
HSVhsv(303, 69%, 64%)
CMYKcmyk(0%, 68.7%, 3.7%, 36.1%)
CIE-LABlab(42.14, 58.12, -34.30)
CIE-LCHlch(42.14, 67.49, 329.46°)
OKLaboklab(52.61% 0.1646 -0.0945)
OKLCHoklch(52.61% 0.19 330.1)
XYZxyz(22.3738, 12.5902, 33.1435)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3339D #33A339
analogous
#7133A3 #A3339D #A33365
triadic
#A3339D #9DA333 #339DA3
tetradic
#A3339D #A37133 #33A339 #3365A3
square
#A3339D #A37133 #33A339 #3365A3
split-complementary
#A3339D #65A333 #33A371
monochromatic
#461643 #742470 #A3339D #C74CC0 #D67BD1

Accessibility & contrast

On white

5.97
#A3339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A3339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3339D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3339D#FFFFFF#000000##FFFFFF
##A3339D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA0
Deuteranopia (green-blind)
#53699A
Tritanopia (blue-blind)
#A94064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a3339d;
/* rgb */ color: rgb(163, 51, 157);
/* oklch */ color: oklch(52.6% 0.190 330.1);
Tailwind
colors: {
  custom: {
    50: '#c275ba',
    500: '#a3339d',
    950: '#000000',
  },
}
SCSS
$custom: #a3339d;
$custom-light: #c275ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a3339d",
  "rgb": {
    "r": 163,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 303.214,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.18983,
    "h": 330.1
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#A3339D
secondary
#73BE78
accent
#DC544C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A3339D

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

Preview Lab → · Contrast checker → · Palette generator →

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