#A6339D#A6339D

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

Color values

HEX#A6339D
RGBrgb(166, 51, 157)
HSLhsl(305, 53%, 43%)
HSVhsv(305, 69%, 65%)
CMYKcmyk(0%, 69.3%, 5.4%, 34.9%)
CIE-LABlab(42.63, 58.85, -33.49)
CIE-LCHlch(42.63, 67.71, 330.35°)
OKLaboklab(53.05% 0.1679 -0.0921)
OKLCHoklch(53.05% 0.191 331.2)
XYZxyz(22.9955, 12.9107, 33.1726)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6339D #33A63C
analogous
#7633A6 #A6339D #A63363
triadic
#A6339D #9DA633 #339DA6
tetradic
#A6339D #A67633 #33A63C #3363A6
square
#A6339D #A67633 #33A63C #3363A6
split-complementary
#A6339D #63A633 #33A676
monochromatic
#481644 #772571 #A6339D #C94EBF #D77CD0

Accessibility & contrast

On white

5.86
#A6339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A6339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6339D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6339D#FFFFFF#000000##FFFFFF
##A6339D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#556A9A
Tritanopia (blue-blind)
#AD4064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a6339d;
/* rgb */ color: rgb(166, 51, 157);
/* oklch */ color: oklch(53.1% 0.191 331.2);
Tailwind
colors: {
  custom: {
    50: '#c475ba',
    500: '#a6339d',
    950: '#000000',
  },
}
SCSS
$custom: #a6339d;
$custom-light: #c475ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6339d",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 304.696,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53053,
    "c": 0.19149,
    "h": 331.2
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#A6339D
secondary
#75C07B
accent
#DC574B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A6339D

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

Preview Lab → · Contrast checker → · Palette generator →

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