#A4339D#A4339D

#A4339D is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.190 H 330.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A4339D
RGBrgb(164, 51, 157)
HSLhsl(304, 53%, 42%)
HSVhsv(304, 69%, 64%)
CMYKcmyk(0%, 68.9%, 4.3%, 35.7%)
CIE-LABlab(42.30, 58.37, -34.03)
CIE-LCHlch(42.30, 67.56, 329.76°)
OKLaboklab(52.75% 0.1657 -0.0937)
OKLCHoklch(52.75% 0.19 330.5)
XYZxyz(22.5794, 12.6962, 33.1531)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4339D #33A43A
analogous
#7333A4 #A4339D #A43364
triadic
#A4339D #9DA433 #339DA4
tetradic
#A4339D #A47333 #33A43A #3364A4
square
#A4339D #A47333 #33A43A #3364A4
split-complementary
#A4339D #64A433 #33A473
monochromatic
#471644 #752470 #A4339D #C84DC0 #D67BD0

Accessibility & contrast

On white

5.93
#A4339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A4339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4339D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4339D#FFFFFF#000000##FFFFFF
##A4339D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#54699A
Tritanopia (blue-blind)
#AA4064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a4339d;
/* rgb */ color: rgb(164, 51, 157);
/* oklch */ color: oklch(52.8% 0.190 330.5);
Tailwind
colors: {
  custom: {
    50: '#c275ba',
    500: '#a4339d',
    950: '#000000',
  },
}
SCSS
$custom: #a4339d;
$custom-light: #c275ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a4339d",
  "rgb": {
    "r": 164,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 303.717,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.19038,
    "h": 330.5
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#A4339D
secondary
#74BF79
accent
#DC554C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A4339D

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

Preview Lab → · Contrast checker → · Palette generator →

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