#A6319B#A6319B

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

Color values

HEX#A6319B
RGBrgb(166, 49, 155)
HSLhsl(306, 54%, 42%)
HSVhsv(306, 70%, 65%)
CMYKcmyk(0%, 70.5%, 6.6%, 34.9%)
CIE-LABlab(42.26, 59.26, -32.86)
CIE-LCHlch(42.26, 67.76, 330.99°)
OKLaboklab(52.76% 0.1699 -0.0903)
OKLCHoklch(52.76% 0.192 332)
XYZxyz(22.7406, 12.6720, 32.2522)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6319B #31A63C
analogous
#7731A6 #A6319B #A63161
triadic
#A6319B #9BA631 #319BA6
tetradic
#A6319B #A67731 #31A63C #3161A6
square
#A6319B #A67731 #31A63C #3161A6
split-complementary
#A6319B #61A631 #31A677
monochromatic
#471543 #77236F #A6319B #CA4ABE #D87ACF

Accessibility & contrast

On white

5.94
#A6319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6319B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6319B#FFFFFF#000000##FFFFFF
##A6319B1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#556A98
Tritanopia (blue-blind)
#AD3D62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6319b;
/* rgb */ color: rgb(166, 49, 155);
/* oklch */ color: oklch(52.8% 0.192 332.0);
Tailwind
colors: {
  custom: {
    50: '#c474b9',
    500: '#a6319b',
    950: '#000000',
  },
}
SCSS
$custom: #a6319b;
$custom-light: #c474b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6319b",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 305.641,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.19238,
    "h": 332
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#A6319B
secondary
#73C07A
accent
#DE584A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A6319B

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

Preview Lab → · Contrast checker → · Palette generator →

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