#A4339A#A4339A

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

Color values

HEX#A4339A
RGBrgb(164, 51, 154)
HSLhsl(305, 53%, 42%)
HSVhsv(305, 69%, 64%)
CMYKcmyk(0%, 68.9%, 6.1%, 35.7%)
CIE-LABlab(42.15, 57.87, -32.47)
CIE-LCHlch(42.15, 66.36, 330.71°)
OKLaboklab(52.59% 0.1655 -0.0892)
OKLCHoklch(52.59% 0.188 331.7)
XYZxyz(22.3264, 12.5950, 31.8208)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4339A #33A43D
analogous
#7633A4 #A4339A #A43361
triadic
#A4339A #9AA433 #339AA4
tetradic
#A4339A #A47633 #33A43D #3361A4
square
#A4339A #A47633 #33A43D #3361A4
split-complementary
#A4339A #61A433 #33A476
monochromatic
#471642 #75246E #A4339A #C84DBD #D67BCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4339A#FFFFFF#000000##FFFFFF
##A4339A1.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)
#2C599D
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#AB3F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a4339a;
/* rgb */ color: rgb(164, 51, 154);
/* oklch */ color: oklch(52.6% 0.188 331.7);
Tailwind
colors: {
  custom: {
    50: '#c275b8',
    500: '#a4339a',
    950: '#000000',
  },
}
SCSS
$custom: #a4339a;
$custom-light: #c275b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a4339a",
  "rgb": {
    "r": 164,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 305.31,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.18804,
    "h": 331.7
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#A4339A
secondary
#74BF7B
accent
#DC594C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A4339A

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

Preview Lab → · Contrast checker → · Palette generator →

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