#A4339B#A4339B

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

Color values

HEX#A4339B
RGBrgb(164, 51, 155)
HSLhsl(305, 53%, 42%)
HSVhsv(305, 69%, 64%)
CMYKcmyk(0%, 68.9%, 5.5%, 35.7%)
CIE-LABlab(42.20, 58.04, -32.99)
CIE-LCHlch(42.20, 66.76, 330.38°)
OKLaboklab(52.65% 0.1656 -0.0907)
OKLCHoklch(52.65% 0.189 331.3)
XYZxyz(22.4100, 12.6285, 32.2612)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4339B #33A43C
analogous
#7533A4 #A4339B #A43362
triadic
#A4339B #9BA433 #339BA4
tetradic
#A4339B #A47533 #33A43C #3362A4
square
#A4339B #A47533 #33A43C #3362A4
split-complementary
#A4339B #62A433 #33A475
monochromatic
#471643 #75246F #A4339B #C84DBE #D67BCF

Accessibility & contrast

On white

5.96
#A4339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A4339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4339B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4339B#FFFFFF#000000##FFFFFF
##A4339B1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599E
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#AB3F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a4339b;
/* rgb */ color: rgb(164, 51, 155);
/* oklch */ color: oklch(52.6% 0.189 331.3);
Tailwind
colors: {
  custom: {
    50: '#c275b9',
    500: '#a4339b',
    950: '#000000',
  },
}
SCSS
$custom: #a4339b;
$custom-light: #c275b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a4339b",
  "rgb": {
    "r": 164,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 304.779,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.18882,
    "h": 331.3
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#A4339B
secondary
#74BF7A
accent
#DC574C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A4339B

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

Preview Lab → · Contrast checker → · Palette generator →

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