#A6319F#A6319F

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

Color values

HEX#A6319F
RGBrgb(166, 49, 159)
HSLhsl(304, 54%, 42%)
HSVhsv(304, 70%, 65%)
CMYKcmyk(0%, 70.5%, 4.2%, 34.9%)
CIE-LABlab(42.47, 59.91, -34.94)
CIE-LCHlch(42.47, 69.35, 329.75°)
OKLaboklab(52.98% 0.1701 -0.0963)
OKLCHoklch(52.98% 0.195 330.5)
XYZxyz(23.0821, 12.8086, 34.0508)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6319F #31A638
analogous
#7331A6 #A6319F #A63164
triadic
#A6319F #9FA631 #319FA6
tetradic
#A6319F #A67331 #31A638 #3164A6
square
#A6319F #A67331 #31A638 #3164A6
split-complementary
#A6319F #64A631 #31A673
monochromatic
#471544 #772372 #A6319F #CA4AC2 #D87AD2

Accessibility & contrast

On white

5.90
#A6319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A6319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6319F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6319F#FFFFFF#000000##FFFFFF
##A6319F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#536A9C
Tritanopia (blue-blind)
#AC3F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6319f;
/* rgb */ color: rgb(166, 49, 159);
/* oklch */ color: oklch(53.0% 0.195 330.5);
Tailwind
colors: {
  custom: {
    50: '#c474bc',
    500: '#a6319f',
    950: '#000000',
  },
}
SCSS
$custom: #a6319f;
$custom-light: #c474bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6319f",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 303.59,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.19546,
    "h": 330.5
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#A6319F
secondary
#73C077
accent
#DE534A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A6319F

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

Preview Lab → · Contrast checker → · Palette generator →

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