#A3339B#A3339B

#A3339B is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.188 H 330.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A3339B
RGBrgb(163, 51, 155)
HSLhsl(304, 52%, 42%)
HSVhsv(304, 69%, 64%)
CMYKcmyk(0%, 68.7%, 4.9%, 36.1%)
CIE-LABlab(42.03, 57.79, -33.26)
CIE-LCHlch(42.03, 66.68, 330.08°)
OKLaboklab(52.5% 0.1645 -0.0915)
OKLCHoklch(52.5% 0.188 330.9)
XYZxyz(22.2044, 12.5224, 32.2516)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3339B #33A33B
analogous
#7333A3 #A3339B #A33363
triadic
#A3339B #9BA333 #339BA3
tetradic
#A3339B #A37333 #33A33B #3363A3
square
#A3339B #A37333 #33A33B #3363A3
split-complementary
#A3339B #63A333 #33A373
monochromatic
#461642 #74246F #A3339B #C74CBE #D67BCF

Accessibility & contrast

On white

5.99
#A3339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A3339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3339B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3339B#FFFFFF#000000##FFFFFF
##A3339B1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#546998
Tritanopia (blue-blind)
#A93F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a3339b;
/* rgb */ color: rgb(163, 51, 155);
/* oklch */ color: oklch(52.5% 0.188 330.9);
Tailwind
colors: {
  custom: {
    50: '#c274b9',
    500: '#a3339b',
    950: '#000000',
  },
}
SCSS
$custom: #a3339b;
$custom-light: #c274b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a3339b",
  "rgb": {
    "r": 163,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 304.286,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.18826,
    "h": 330.9
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#A3339B
secondary
#73BE79
accent
#DC564C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A3339B

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

Preview Lab → · Contrast checker → · Palette generator →

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