#A6219C#A6219C

#A6219C is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.210 H 331.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A6219C
RGBrgb(166, 33, 156)
HSLhsl(305, 67%, 39%)
HSVhsv(305, 80%, 65%)
CMYKcmyk(0%, 80.1%, 6%, 34.9%)
CIE-LABlab(40.57, 64.42, -36.15)
CIE-LCHlch(40.57, 73.87, 330.70°)
OKLaboklab(51.56% 0.1844 -0.0996)
OKLCHoklch(51.56% 0.21 331.6)
XYZxyz(22.2705, 11.5969, 32.5115)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6219C #21A62B
analogous
#6E21A6 #A6219C #A6215A
triadic
#A6219C #9CA621 #219CA6
tetradic
#A6219C #A66E21 #21A62B #215AA6
square
#A6219C #A66E21 #21A62B #215AA6
split-complementary
#A6219C #5AA621 #21A66E
monochromatic
#400D3C #73176C #A6219C #D62FC9 #E062D6

Accessibility & contrast

On white

6.33
#A6219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A6219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6219C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6219C#FFFFFF#000000##FFFFFF
##A6219C1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12549F
Deuteranopia (green-blind)
#4F6699
Tritanopia (blue-blind)
#AD335F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6219c;
/* rgb */ color: rgb(166, 33, 156);
/* oklch */ color: oklch(51.6% 0.210 331.6);
Tailwind
colors: {
  custom: {
    50: '#c46eb9',
    500: '#a6219c',
    950: '#000000',
  },
}
SCSS
$custom: #a6219c;
$custom-light: #c46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6219c",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 304.511,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.20964,
    "h": 331.6
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#A6219C
secondary
#5EC566
accent
#EA4B3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6219C

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

Preview Lab → · Contrast checker → · Palette generator →

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