#A4339E#A4339E

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

Color values

HEX#A4339E
RGBrgb(164, 51, 158)
HSLhsl(303, 53%, 42%)
HSVhsv(303, 69%, 64%)
CMYKcmyk(0%, 68.9%, 3.7%, 35.7%)
CIE-LABlab(42.35, 58.53, -34.55)
CIE-LCHlch(42.35, 67.97, 329.45°)
OKLaboklab(52.81% 0.1658 -0.0952)
OKLCHoklch(52.81% 0.191 330.1)
XYZxyz(22.6651, 12.7305, 33.6046)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4339E #33A439
analogous
#7233A4 #A4339E #A43366
triadic
#A4339E #9EA433 #339EA4
tetradic
#A4339E #A47233 #33A439 #3366A4
square
#A4339E #A47233 #33A439 #3366A4
split-complementary
#A4339E #66A433 #33A472
monochromatic
#471644 #752471 #A4339E #C84DC1 #D67BD1

Accessibility & contrast

On white

5.92
#A4339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A4339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4339E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4339E#FFFFFF#000000##FFFFFF
##A4339E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#53699B
Tritanopia (blue-blind)
#AA4164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a4339e;
/* rgb */ color: rgb(164, 51, 158);
/* oklch */ color: oklch(52.8% 0.191 330.1);
Tailwind
colors: {
  custom: {
    50: '#c275bb',
    500: '#a4339e',
    950: '#000000',
  },
}
SCSS
$custom: #a4339e;
$custom-light: #c275bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a4339e",
  "rgb": {
    "r": 164,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 303.186,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.19117,
    "h": 330.1
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#A4339E
secondary
#74BF78
accent
#DC534C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A4339E

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

Preview Lab → · Contrast checker → · Palette generator →

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