#A3339F#A3339F

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

Color values

HEX#A3339F
RGBrgb(163, 51, 159)
HSLhsl(302, 52%, 42%)
HSVhsv(302, 69%, 64%)
CMYKcmyk(0%, 68.7%, 2.5%, 36.1%)
CIE-LABlab(42.24, 58.46, -35.33)
CIE-LCHlch(42.24, 68.31, 328.85°)
OKLaboklab(52.72% 0.1647 -0.0975)
OKLCHoklch(52.72% 0.191 329.4)
XYZxyz(22.5459, 12.6590, 34.0501)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3339F #33A337
analogous
#6F33A3 #A3339F #A33367
triadic
#A3339F #9FA333 #339FA3
tetradic
#A3339F #A36F33 #33A337 #3367A3
square
#A3339F #A36F33 #33A337 #3367A3
split-complementary
#A3339F #67A333 #33A36F
monochromatic
#461644 #742472 #A3339F #C74CC3 #D67BD2

Accessibility & contrast

On white

5.95
#A3339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A3339F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3339F#FFFFFF#000000##FFFFFF
##A3339F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#52699C
Tritanopia (blue-blind)
#A94165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a3339f;
/* rgb */ color: rgb(163, 51, 159);
/* oklch */ color: oklch(52.7% 0.191 329.4);
Tailwind
colors: {
  custom: {
    50: '#c275bc',
    500: '#a3339f',
    950: '#000000',
  },
}
SCSS
$custom: #a3339f;
$custom-light: #c275bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a3339f",
  "rgb": {
    "r": 163,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 302.143,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.19143,
    "h": 329.4
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

primary
#A3339F
secondary
#73BE76
accent
#DC514C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A3339F

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

Preview Lab → · Contrast checker → · Palette generator →

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