#A6319A#A6319A

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

Color values

HEX#A6319A
RGBrgb(166, 49, 154)
HSLhsl(306, 54%, 42%)
HSVhsv(306, 70%, 65%)
CMYKcmyk(0%, 70.5%, 7.2%, 34.9%)
CIE-LABlab(42.21, 59.10, -32.34)
CIE-LCHlch(42.21, 67.37, 331.31°)
OKLaboklab(52.7% 0.1698 -0.0888)
OKLCHoklch(52.7% 0.192 332.4)
XYZxyz(22.6570, 12.6385, 31.8118)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6319A #31A63D
analogous
#7831A6 #A6319A #A6315F
triadic
#A6319A #9AA631 #319AA6
tetradic
#A6319A #A67831 #31A63D #315FA6
square
#A6319A #A67831 #31A63D #315FA6
split-complementary
#A6319A #5FA631 #31A678
monochromatic
#471542 #77236E #A6319A #CA4ABD #D87ACE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6319A#FFFFFF#000000##FFFFFF
##A6319A1.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)
#2B599D
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#AD3D62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6319a;
/* rgb */ color: rgb(166, 49, 154);
/* oklch */ color: oklch(52.7% 0.192 332.4);
Tailwind
colors: {
  custom: {
    50: '#c474b8',
    500: '#a6319a',
    950: '#000000',
  },
}
SCSS
$custom: #a6319a;
$custom-light: #c474b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6319a",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 306.154,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.19162,
    "h": 332.4
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#A6319A
secondary
#73C07B
accent
#DE594A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A6319A

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

Preview Lab → · Contrast checker → · Palette generator →

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