#A6319C#A6319C

#A6319C is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.193 H 331.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A6319C
RGBrgb(166, 49, 156)
HSLhsl(305, 54%, 42%)
HSVhsv(305, 70%, 65%)
CMYKcmyk(0%, 70.5%, 6%, 34.9%)
CIE-LABlab(42.32, 59.42, -33.38)
CIE-LCHlch(42.32, 68.16, 330.67°)
OKLaboklab(52.81% 0.1699 -0.0918)
OKLCHoklch(52.81% 0.193 331.6)
XYZxyz(22.8249, 12.7057, 32.6963)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6319C #31A63B
analogous
#7631A6 #A6319C #A63162
triadic
#A6319C #9CA631 #319CA6
tetradic
#A6319C #A67631 #31A63B #3162A6
square
#A6319C #A67631 #31A63B #3162A6
split-complementary
#A6319C #62A631 #31A676
monochromatic
#471543 #772370 #A6319C #CA4ABF #D87AD0

Accessibility & contrast

On white

5.93
#A6319C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A6319C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6319C
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6319C#FFFFFF#000000##FFFFFF
##A6319C1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599F
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#AD3E63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6319c;
/* rgb */ color: rgb(166, 49, 156);
/* oklch */ color: oklch(52.8% 0.193 331.6);
Tailwind
colors: {
  custom: {
    50: '#c474b9',
    500: '#a6319c',
    950: '#000000',
  },
}
SCSS
$custom: #a6319c;
$custom-light: #c474b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6319c",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 305.128,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52811,
    "c": 0.19314,
    "h": 331.6
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6319C

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

Preview Lab → · Contrast checker → · Palette generator →

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