#A6319D#A6319D

#A6319D is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.194 H 331.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A6319D
RGBrgb(166, 49, 157)
HSLhsl(305, 54%, 42%)
HSVhsv(305, 70%, 65%)
CMYKcmyk(0%, 70.5%, 5.4%, 34.9%)
CIE-LABlab(42.37, 59.58, -33.90)
CIE-LCHlch(42.37, 68.55, 330.36°)
OKLaboklab(52.87% 0.17 -0.0933)
OKLCHoklch(52.87% 0.194 331.2)
XYZxyz(22.9100, 12.7397, 33.1441)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6319D #31A63A
analogous
#7431A6 #A6319D #A63163
triadic
#A6319D #9DA631 #319DA6
tetradic
#A6319D #A67431 #31A63A #3163A6
square
#A6319D #A67431 #31A63A #3163A6
split-complementary
#A6319D #63A631 #31A674
monochromatic
#471544 #772370 #A6319D #CA4AC0 #D87AD0

Accessibility & contrast

On white

5.92
#A6319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6319D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6319D#FFFFFF#000000##FFFFFF
##A6319D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA0
Deuteranopia (green-blind)
#546A9A
Tritanopia (blue-blind)
#AD3E63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6319d;
/* rgb */ color: rgb(166, 49, 157);
/* oklch */ color: oklch(52.9% 0.194 331.2);
Tailwind
colors: {
  custom: {
    50: '#c474ba',
    500: '#a6319d',
    950: '#000000',
  },
}
SCSS
$custom: #a6319d;
$custom-light: #c474ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6319d",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 304.615,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.19391,
    "h": 331.2
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#A6319D
secondary
#73C079
accent
#DE554A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A6319D

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

Preview Lab → · Contrast checker → · Palette generator →

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