#A6319E#A6319E

#A6319E is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.195 H 330.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A6319E
RGBrgb(166, 49, 158)
HSLhsl(304, 54%, 42%)
HSVhsv(304, 70%, 65%)
CMYKcmyk(0%, 70.5%, 4.8%, 34.9%)
CIE-LABlab(42.42, 59.74, -34.42)
CIE-LCHlch(42.42, 68.95, 330.05°)
OKLaboklab(52.92% 0.1701 -0.0948)
OKLCHoklch(52.92% 0.195 330.9)
XYZxyz(22.9957, 12.7740, 33.5956)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6319E #31A639
analogous
#7431A6 #A6319E #A63163
triadic
#A6319E #9EA631 #319EA6
tetradic
#A6319E #A67431 #31A639 #3163A6
square
#A6319E #A67431 #31A639 #3163A6
split-complementary
#A6319E #63A631 #31A674
monochromatic
#471544 #772371 #A6319E #CA4AC1 #D87AD1

Accessibility & contrast

On white

5.91
#A6319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A6319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6319E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6319E#FFFFFF#000000##FFFFFF
##A6319E1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA1
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#AD3F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6319e;
/* rgb */ color: rgb(166, 49, 158);
/* oklch */ color: oklch(52.9% 0.195 330.9);
Tailwind
colors: {
  custom: {
    50: '#c474bb',
    500: '#a6319e',
    950: '#000000',
  },
}
SCSS
$custom: #a6319e;
$custom-light: #c474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6319e",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 304.103,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.19468,
    "h": 330.9
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#A6319E
secondary
#73C078
accent
#DE544A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A6319E

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

Preview Lab → · Contrast checker → · Palette generator →

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