#A3339E#A3339E

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

Color values

HEX#A3339E
RGBrgb(163, 51, 158)
HSLhsl(303, 52%, 42%)
HSVhsv(303, 69%, 64%)
CMYKcmyk(0%, 68.7%, 3.1%, 36.1%)
CIE-LABlab(42.19, 58.29, -34.81)
CIE-LCHlch(42.19, 67.90, 329.15°)
OKLaboklab(52.66% 0.1647 -0.096)
OKLCHoklch(52.66% 0.191 329.8)
XYZxyz(22.4595, 12.6245, 33.5950)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3339E #33A338
analogous
#7033A3 #A3339E #A33366
triadic
#A3339E #9EA333 #339EA3
tetradic
#A3339E #A37033 #33A338 #3366A3
square
#A3339E #A37033 #33A338 #3366A3
split-complementary
#A3339E #66A333 #33A370
monochromatic
#461644 #742471 #A3339E #C74CC2 #D67BD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3339E#FFFFFF#000000##FFFFFF
##A3339E1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA1
Deuteranopia (green-blind)
#52699B
Tritanopia (blue-blind)
#A94164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a3339e;
/* rgb */ color: rgb(163, 51, 158);
/* oklch */ color: oklch(52.7% 0.191 329.8);
Tailwind
colors: {
  custom: {
    50: '#c275bb',
    500: '#a3339e',
    950: '#000000',
  },
}
SCSS
$custom: #a3339e;
$custom-light: #c275bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a3339e",
  "rgb": {
    "r": 163,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 302.679,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.19063,
    "h": 329.8
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#A3339E
secondary
#73BE77
accent
#DC524C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A3339E

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

Preview Lab → · Contrast checker → · Palette generator →

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