#A6339E#A6339E

#A6339E is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.192 H 330.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A6339E
RGBrgb(166, 51, 158)
HSLhsl(304, 53%, 43%)
HSVhsv(304, 69%, 65%)
CMYKcmyk(0%, 69.3%, 4.8%, 34.9%)
CIE-LABlab(42.68, 59.01, -34.01)
CIE-LCHlch(42.68, 68.11, 330.04°)
OKLaboklab(53.11% 0.1679 -0.0936)
OKLCHoklch(53.11% 0.192 330.9)
XYZxyz(23.0812, 12.9450, 33.6241)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6339E #33A63B
analogous
#7533A6 #A6339E #A63364
triadic
#A6339E #9EA633 #339EA6
tetradic
#A6339E #A67533 #33A63B #3364A6
square
#A6339E #A67533 #33A63B #3364A6
split-complementary
#A6339E #64A633 #33A675
monochromatic
#481645 #772571 #A6339E #C94EC0 #D77CD1

Accessibility & contrast

On white

5.85
#A6339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A6339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6339E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6339E#FFFFFF#000000##FFFFFF
##A6339E1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA1
Deuteranopia (green-blind)
#556A9B
Tritanopia (blue-blind)
#AC4064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a6339e;
/* rgb */ color: rgb(166, 51, 158);
/* oklch */ color: oklch(53.1% 0.192 330.9);
Tailwind
colors: {
  custom: {
    50: '#c475bb',
    500: '#a6339e',
    950: '#000000',
  },
}
SCSS
$custom: #a6339e;
$custom-light: #c475bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6339e",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 304.174,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53107,
    "c": 0.19227,
    "h": 330.9
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#A6339E
secondary
#75C07A
accent
#DC554B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A6339E

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

Preview Lab → · Contrast checker → · Palette generator →

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